Facebook Conversion API (server 2 server) - setting help

If you are runnig Joomla 3.x and Virtuemart 3.x please post to this forum your questions or support tickets about One Page Checkout

Facebook Conversion API (server 2 server) - setting help

Postby info@.....cz » Tue Jun 20, 2023 2:10 pm

Hello, i am trying to setup a Facebook Conversion API (server 2 server) tracking.
So i have set up: https://ibb.co/7KpWz8H
I entered Pixel ID. And Conversion API Access Token from here: https://prnt.sc/g_S2FY3vxzNX
But in facebook bussines suite i still see only Browser events from Meta pixel and no Conversion API events: https://prnt.sc/GfT0_s5MgXDf

Is there anything else what should i do?
info@.....cz
 
Posts: 13
Joined: Thu Feb 28, 2019 9:22 pm

Re: Facebook Conversion API (server 2 server) - setting help

Postby admin » Fri Jun 23, 2023 12:03 pm

hello, if the pixel and access code are correct, then this should work all ok and you should see "server events" at FB.

you might want to:
- Store checkout errors in DB = ON (General tab in OPC)
- install our fatal catcher (basic config -> everything in the plugin should be NO )
- check F12 JS console on your site which shows datas sent with server 2 server
- you might want to reinstall FB SDK (it might have some requirements such as minimal php version or similar - this gets logged to OPC Error log ) -> if installation failes, it's possible that you cannot use server2server without updating php version (or installing a missing php extension - see error log)

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: Facebook Conversion API (server 2 server) - setting help

Postby info@.....cz » Mon Sep 04, 2023 10:08 am

Thank you for your help.
I think the problem is in Facebook Conversion API SDK installation, because if i click on the button:
"Reinstall Facebook Conversion API SDK" blank screen is shown and nothing happens...
https://prnt.sc/nsq1aDArAfMJ

You wrote (it might have some requirements such as minimal php version or similar - this gets logged to OPC Error log ) -> if installation failes, it's possible that you cannot use server2server without updating php version (or installing a missing php extension - see error log)

Where do i find the error log?
info@.....cz
 
Posts: 13
Joined: Thu Feb 28, 2019 9:22 pm

Re: Facebook Conversion API (server 2 server) - setting help

Postby admin » Tue Oct 24, 2023 12:44 pm

Hello, the error log is within:
- enable "log checkout errors" in general tab
- visit frontend which should install Facebook SDK at first visit
- see the OPC Error log section (in opc menu at BE at left side)

The system uses modified composer for web installation of 3rd party libraries into /libraries folder. In recent OPC i adjusted the installer to use always "current php version" as directory path, so that one library can be used with php7.4 and another one with php8.1. Generally companies like Stripe or Facebook require to use non-EOL version of PHP and thus it is possible that Facebook SDK requires at least php8.1

OPC's facebook's tracking tries to install:
https://github.com/facebook/facebook-ph ... s/main.zip
into:
/libraries/vendor/facebook-php-business-sdk/'.PHP_MAJOR_VERSION.'.'.PHP_MINOR_VERSION.'/'

Facebook's SDK page is at https://github.com/facebook/facebook-php-business-sdk

you might want to extract and install it manually, so that composer.json is in:
/libraries/vendor/facebook-php-business-sdk/8.2/facebook-php-business-sdk-main/composer.json
and autoload in:
/libraries/vendor/facebook-php-business-sdk/8.2/facebook-php-business-sdk-main/vendor/autoload.php

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 3 on Joomla 3.x

cron