Thinking of setting up Facebook ads pixel for your WooCommerce store?
Tracking return on your ad spends can be a real pain and inaccurate when you don’t have pixels installed on your website.
Facebook (Meta) Pixel is a core element of Facebook advertising that gives power to your hands. It lets refine your retargeting ad campaigns. Plus, it allows you to create custom audiences, understand users' behavior, and more.
Furthermore, you can track events such as abandoned carts, purchases made, new subscriptions, and more.
In this post, we will tell you how you can all do this by setting up Facebook Pixel and Conversion API in WooCommerce. Further, you'll learn to enable events to track conversions in your store.
Let’s begin right away.
With the launch of iOS 14, Facebook has set up parameters for sending and receiving conversion events from tools such as the Facebook (Meta) Pixel.
Earlier, it was done only via the user’s browser. But now Facebook requires the data to be also sent directly to its servers.
This process aims to send data related to various events and conversions to Facebook Ads Manager which maintains data privacy.
For that, Facebook introduced its server-side tracking known as Conversion API (CAPI).
Therefore, you must set up Facebook Pixel and Conversion API on your online store for effective data tracking.
However, several guides and plugins such as Facebook for WooCommerce available on the internet have made setting up WooCommerce Facebook Pixel quite challenging.
If you’re new to Facebook Pixel tracking, then you may find it overwhelming to set it up from ground zero.
But worry not.
Here we will show you a simple process of setting up Facebook Pixel on your WooCommerce store.
Matching is a process where Facebook connects an event fired on your website by a Facebook user.
This process ensures that conversion tracking, targeting and custom audiences on various events.
There are two types of conversion tracking that Facebook uses:
These two methods work together to provide data to Facebook.
If at some point the browser events get blocked, Conversion API ensures to send data to Facebook.
We recommend setting up both the Facebook Pixel and Conversion API on your website for efficient data tracking.
To set up WooCommerce Facebook Pixel on your store, you will need just these two tools:
1. FunnelKit Funnel Builder (WordPress Plugin)
2. Facebook Pixel Helper (Google Chrome Extension)
We recommend using the FunnelKit Funnel Builder for tracking pixels on your website.
It’s an all-in-one WooCommerce checkout solution. It not only lets you set up high-converting Checkout pages but also provides deep integration with Facebook Pixel.
It eliminates the need for having different plugins for setting up Facebook Pixel. After all, it's the job of your checkout page to send purchase data to Facebook.
It's the best WooCommerce Facebook plugin that has a built-in feature to track the events site-wide.
To install the FunnelKit Funnel Builder, go to your WordPress dashboard.
Then, click on Plugins > Add New.
Look for the FunnelKit Funnel Builder.
Then, click on ‘Install Now’.
The FunnelKit Funnel Builder will get installed.
Once done, hit ‘Activate’ to make it active on your website.
This is how you can install and activate the FunnelKit Funnel Builder plugin.
You're now set to install WooCommerce Facebook pixel on your store.
The Facebook Pixel Helper is a Google Chrome extension that lets you validate the Facebook Pixel implementation.
It’s more of a troubleshooting tool that works in the background. It looks for conversion-related information and provides real-time feedback on the pixel implementation.
You can view the number of pixel events along with a detailed overview of warnings, successes, and errors on a page.
Go to Facebook Pixel Helper from your Google Chrome web browser.
Click on ‘Add to Chrome’.
The Chrome browser will ask for your confirmation to install the extension.
Click on ‘Add Extension’.
That’s it! This will install the ‘Facebook Pixel Helper’ extension on Google Chrome.
You're now ready to set up WooCommerce Facebook Pixel on your store.
Now that we have all the tools, look at the events you can track with the FunnelKit Funnel Builder.
Here is the list of events that you can track with the Facebook Pixel using the FunnelKit Funnel Builder on your WooCommerce store:
In this section, you’ll learn how to set up WooCommerce Facebook Pixel.
Go to your Facebook Business Suite and log in to your account using the credentials. Or simply click on the Meta Business Suite from your Facebook page.
If you don't have an account, you can create a Facebook (Meta) Business Suite account.
Next, go to the Events Manager on the Facebook Business Manager dashboard.
From the left sidebar, click on ‘(+) Connect Data Sources’.
Click on ‘Web’ and hit the ‘Connect’ button.
Next, name your WooCommerce Facebook pixel and click on ‘Create Pixel’.
Enter the URL of your WooCommerce website that you want to install Facebook Pixel.
Then, click on ‘Next’.
Next, you’ll have to choose how to connect your website.
You can do it through:
Select ‘Conversions API and Meta Pixel’ and click on the ‘Next’ button.
This step will let you install WooCommerce Facebook Pixel on your store.
If you don’t want to configure Conversions API on your website, you can proceed with the ‘Meta Pixel only’ option.
Once done, your Facebook Pixel ID will get created.
Now, you need to set up the Conversion API on your website.
You’ll get a popup window that explains the Conversion API.
Keep clicking on ‘Next’ till you reach the last slide.
Once you’re on the final slide, hit the ‘Set Up’ button.
Next, you’ll need to specify how you’d like to set up the Conversions API.
Choose from the following options to set up WooCommerce Facebook Pixel:
Specify all the events you want to enable for WooCommerce Facebook pixel conversion tracking.
Once it's done, it'll ask you to set it up manually or email instructions to a developer. You don't have to do anything because FunnelKit takes care of that. Simply close the window.
Go to the 'Settings' tab on your Pixel dashboard.
Here, you’ll get your Facebook Pixel ID.
Click to copy the Pixel ID to the clipboard.
Go to the ‘Settings’ section under FunnelKit Funnel Builder.
Paste the Pixel ID under Facebook Pixel.
This is the first step in adding Facebook Pixel to WooCommerce.
Next, check the box next to ‘Enable Conversion API’.
You’ll need to paste the Conversions API access token.
For that, go to the Settings tab on your Facebook Pixel Dashboard.
Then, scroll down below and click on the ‘Generate access token’ link.
Copy the access token here.
Paste the access token into the Funnel Builder settings.
Well done! Your WooCommerce Facebook Pixel is all set now.
Here, enable the events you want to track with the Funnel Builder.
Optin and Sales Page events
Checkout and Order Bump events
Enable custom funnel steps
Make sure to hit the ‘Save Changes’ button when you’re done.
There you go! We have answered your 'how to connect Facebook pixel to WooCommerce' query.
This is how you can successfully install WooCommerce Facebook Pixel on your store.
You can test two types of events to ensure data tracking works effectively on your WooCommerce store.
Follow the instructions on how to enable the different events and test the server & browser-side events on your WooCommerce store.
Here we will use the Chrome extension - Facebook Pixel Helper to test our browser events.
Test the browser events by going to the products page on your WooCommerce store.
You’ll get notified of the number of WooCommerce Facebook pixels running on the ‘Facebook Pixel Helper’ extension.
On your product page, you’ll be able to see the ‘PageView’ event gets fired.
Next, click on any product and you’ll be able to see the ‘PageView’ and ‘ViewContent’ events on the extension.
Next, add the product to the cart and initiate the checkout page.
You’ll be able to see the 'InitiateCheckout', 'PageView' and 'AddToCart' events here.
Make a purchase and you'll see the 'Purchase' event gets fired.
It means your browser events are working accurately and the WooCommerce Facebook Pixel is running properly.
Here, we will test the server events from the Facebook Pixel dashboard.
On the Funnel Builder settings section, enable the ‘Test server events via test_event_code’.
You’ll need to paste the Test Event Code here.
For that, you need to go to the ‘Test Events’ tab on the Pixel dashboard.
Paste the test code into the Funnel Builder.
The FunnelKit Funnel Builder has the setting to enable purchase event logs.
To test if the server-side events are working perfectly, enable the purchase event logs.
Now we will go to our website and perform some activities like adding products to the cart, starting the checkout process, etc.
You’ll be able to see these events under the ‘Test events’ tab on your pixel dashboard.
This means that the server events are working fine.
We recommend unchecking the ‘test events’ option for WooCommerce Facebook Pixel after you’ve completed testing the events on your website.
Now go to the ‘Overview’ tab.
Here you'll be able to see all your pixels, integrations, match quality score, events, and much more.
This is how you can successfully test the browser and CAPI events with the Facebook Pixel ID on your WooCommerce store.
Apart from the usual ‘Page View’, ‘Add to cart’, ‘Purchase’, and other events, FunnelKit goes one step ahead and provides special events to track your funnels.
Let’s look at these events you can track with the WooCommerce Facebook Pixel using the FunnelKit Funnel Builder:
One-Click Upsells by FunnelKit takes full responsibility for sending purchase data to Facebook. It would work even when funnels do not trigger.
It fires the purchase event of the main order on the upsell page.
Now for the upsell offer - if the upsell is accepted, the purchase event of the accepted offer is fired on the next step. The next step could be another upsell offer or the thank you page.
If upsell is rejected, then no purchase event is fired on the next step.
Further, the pixelation technique works even if the user abandons the upsell and does not reach the thank you page.
This is how the One Click Upsells by FunnelKit sends accurate data to Facebook.
In this section, we will answer some additional questions asked by users related to Facebook Pixel for WooCommerce.
1. Will I be able to track pixels on my entire website?
Yes, the FunnelKit Funnel Builder has the settings to track site-wide pixel events on your website. This means that you can track the events on your website without the help of any extra plugins.
2. How do I add Facebook Pixel to WooCommerce?
We have discussed the step-by-step process of adding WooCommerce Facebook Pixel in this post. Feel free to browse through the section here.
3. Event tracking is not working on my setup. Can you please help?
To ensure event tracking is working properly, you need to test the browser and CAPI events. This will let you know whether the Facebook Pixel and Conversion API are installed correctly or not. You can view the respective section in this blog to test your browser and server events on your website.
4. How do I fire purchase events with multiple Facebook Pixels and CAPIs?
For firing events in case of multiple Facebook Pixel and CAPIs, you need to add both your IDs separated by a comma. Here's the screenshot for your reference:
5. Can WooCommerce integrate with Facebook for tracking conversion from ads?
Yes, WooCommerce integrates with Facebook for tracking conversions from the ads. You just have to install FunnelKit that gives you various information for any event happening on your website from Facebook ads.
6. How do I manually add a Facebook pixel to my website?
You can easily add a Facebook pixel to your WordPress website. All you have to do is install FunnelKit, enter the Facebook pixel ID and enable the events you want to track. And you're all set!
Facebook Pixel is vital for running ads because it gives you detailed information about conversions and the ROI of your marketing campaigns.
That’s why it’s a must for WooCommerce store owners to set up Facebook Pixel on your website.
However, the availability of a lot of plugins and guides on the internet has made this task much more complicated.
But thanks to the Funnel Builder by FunnelKit that provides deep integration with Facebook Pixel and its Conversion API.
It has eliminated the need to have different WooCommerce Facebook Pixel plugins on your website.
Furthermore, the FunnelKit Funnel Builder has various events that can be enabled for accurate data tracking.
Plus, with site-wide event tracking, you can easily enable the View event across your web pages without the need for any extra third-party plugin.
It’s a must-have tool for all the WooCommerce store owners out there who are looking to grow their online business.
So why wait for long?