WooFunnels Documentation
Get unstuck with our helpful reference material

Facebook Pixel - Conversion API

With the iOS 14 release, Facebook has become more particular about how the data will be sent over to its servers. Earlier it was only via the user's browser but now Facebook requires it to be also sent via the server.

In this post, we have covered the following points:

Let's get started.

How to configure the Conversion API events?

To send pixel events directly to Facebook servers without using a visitor’s browser, you have to set up Conversions API for WooFunnels.

Step #1: Log in to your Facebook Business suite account

Go to your Facebook Business Suite account and login using the credentials.

Login to your Facebook Business Suite

Step #2: Go to More Tools and select “Events Manager”

Click on “More Tools” and you’ll see many options:

Go to More Tools on Facebook Business Suite

Now, select “Events Manager” from the list.

Click on Events Manager in Facebook Business Suite

Step #3: Select your Facebook Pixel ID

On the left side, click on your Facebook Pixel ID.

Select your Facebook Pixel ID

Step #4: Go to Settings

Once you’ve selected your Pixel ID, go to Settings from the right section.

Copy the Facebook Pixel ID

Step #5: Copy and paste the Facebook Pixel ID on WooFunnels settings

Open a new tab and go to WooFunnels > Settings > Facebook Pixel.

Now, paste your Pixel ID there.

Paste the Pixel ID to WooCommerce settings

Step #6: Click “Generate access token” and copy the code

Go to the previous tab, scroll down to the section and click on Generate access token.

Generate access token

As you click on the link, a code will appear. Click to copy this code to the clipboard.

Copy the access token of Conversions API

Step #7: Paste the access token to WooFunnels

Click on “Enable Conversion API” below to your Facebook Pixel ID.

Enable Conversion API on WooFunnels

Now, paste the access token there.

Paste the access token of Conversion API to WooFunnels

Once done, click on “Save Settings”. 

Congratulations! You have successfully set up Conversions API for WooFunnels.

How to perform testing against the server-side events?

You can perform testing on Facebook Conversions API for WooFunnels. For this, you need to authorize a test server code from Facebook Pixel to WooFunnels.

Follow the instructions below:

Step #1: Select your Pixel ID and go to “Test events”

Click on the “Test events” tab on the right.

Go to Test events in Facebook Pixel ID

Step #2: Click on the test event code to copy

Scroll down and copy the test event code by clicking on it.

Copy the test event code

Step #3: Paste the test code to WooFunnels Facebook Pixel settings

Go to WooFunnels > Settings > Facebook Pixel. Now enable the “Test server events via test_event_code”.

Enable the test server event

Now paste the test event code there.

Paste the test server event

Note: We recommend unchecking this option after you’ve finished testing the events.

Step #4: Test and track the events

Run your sales funnels and track the test events here.

Track the test events - Facebook Pixel

That’s it! You have successfully enabled the test server events.

How to log purchase events on the website for troubleshooting?

Sometimes you may need to analyze request and receive responses which Facebook has sent. Therefore, enabling the event logs allows you to capture logs on the website.

To enable the log event, go to WooFunnels > Settings > General

Under Facebook Pixel, check the "Enable Purchase Event Logs" box.

Enable the purchase event logs

By enabling it, you've allowed WooCommerce to capture your purchase event logs.

You'll be able to check all the purchase event logs by going through WooCommerce > Status > Logs

Check Purchase event log in WooCommerce Status

Note: We recommend unchecking the "purchase event log" option after you’ve finished testing the events.

This is how you can log purchase events on the website for troubleshooting.

Increase your sales, starting today.

Get WooFunnels Now