You can add Facebook pixel tracking directly to your checkout page to track the success of your ad campaigns. The Facebook pixel is a useful tool for conversion tracking.
Not only can you view the direct result of your Facebook ads, but you can also remarket to everyone who visits your site or target customers who visit specific pages or take specific actions. This guide provides instructions on installing your Facebook pixel.
Before you start
The default Facebook (FB) tracking code Recharge discussed in this article only tracks currency, total price, and the FB tracking ID. You can track additional subscription properties such as the product id, variant id, and SKU by adding your own version of the FB code to checkout through Settings > Checkout > Additional & scripts and trackers.
Add Facebook pixel ID
The Facebook pixel ID tracks the InitiateCheckout and the Purchase events when a person enters the checkout page. When a person finishes their purchase, it will track the view.
Note: The Facebook pixel ID triggers only on the Thank You page after checkout has been completed.
- Ensure you have your Facebook pixel ID.
- In the Recharge Dashboard, click on Settings and select Checkout.
- Fill in the Facebook pixel id field.
- Click Save.
Use Facebook pixel on the Thank You page
If you need to collect additional data beyond price and currency, we recommend using the entire tracking code Facebook provides in the Additional Contents & Scripts section. As the Purchase event only sends the price and currency variables, you will require additional tracking information embedded in the code.
Once you add the code to the Additional Contents & Scripts, the Recharge system will disable the Purchase event that is fired by the pixel ID and instead fires the fully injected code block instead.
Recharge can only provide limited support for installing the Facebook pixel. For information on setting up campaigns and troubleshooting attribution, speak with a third-party Marketing Expert.
Didn’t find what you’re looking for?Contact us