Could you please provide info on how to setup Test server events from my web server using your plugin? Where exactly I could set the {‘test_event_code’:’TEST1234′} in order the events to appear in test events screen in Facebook event manager?
yes, I am referring to that exactly, and specifically to the Test Server Events area. The following instructions are given there, prompting the user to add the parameter {test_event_code: TEST1234} to the server’s payload in order to test CAPI. The instruction provided is:
Test Server Events
Follow these steps on your terminal or in the Graph API Explorer to start seeing activity.
1. Within your server's payload, add the 'test_event_code' to the event you want to test.
TEST1234
2. Copy and paste the test code below as a value for your test_event_code parameter. For example: {test_event_code: TEST26709}
3. Send the payload. If the payload is received correctly, it'll appear on this screen.
I would like to add this parameter, for all the events that my server sends to facebook, directly in your plugin code. Is that possible?
Other plugins, as you probably know, give this functionality directly through their administrator’s screen
Our plugin doesn’t have that feature, as by default the Conversions API creates a direct connection between marketing data such as website events and conversions from your server to Meta.
The Facebook conversion API is integrated out of the box in the Facebook for WooCommerce extension. This means that once you set up the extension, the conversion API is automatically implemented and no additional setting is required from you.