Meta Pixel
Connect your store to the Meta Conversions API for Server-Side tracking
Last updated
Was this helpful?
Connect your store to the Meta Conversions API for Server-Side tracking
Last updated
Was this helpful?
The Meta Pixel App creates a server-to-server connection to post tracking and sales attribution metrics to the (Facebook) Meta Conversions API. Server-side API tracking is the method recommended by Meta to ensure the highest degree of accuracy in the data sent to the Meta Pixel.
To connect your store to the Meta Conversions API, navigate to Apps > Meta Pixel > Settings.
Select Add Pixel
Input the following values obtained from your Meta Business Manager account:
Pixel ID (Dataset ID)
Access Token
Select Save.
You may optionally add additional Meta Pixels to your store.
Once you have added one or more Meta Pixels, choose the Default Meta Pixel to be used in your store. Configure the following optional settings
Enable Delay Order Confirmation - add a 10 minute delay after purchase events, to ensure that orders are completed including any upsells before being posted to the Conversions API.
Enable Test Data - allow data to be posted to the Conversions API.
fb_fbc (required) - value from Meta Pixel JS to capture the click.
fb_fbp (required) - value from Meta Pixel JS to capture the click.
fb_pixel_id (optional) - pass an alternative Pixel ID to specify a different Meta Pixel than the app's Default to be used in the Meta Conversions API post.
fb_event_source_url (optional) - pass the url the event happened on such as an external marketing campaign.
fb_fbc (required)
fb_fbp (required)
The Meta Pixel app automatically adds your Meta Pixel JS to the storefront. Additionally, the app creates the following attribution fields in your store, which correspond to values required by Meta Conversions API to track events accurately:
fb_test_code (optional) - this field can be used to pass test events, but should only used by developers. Additional documentation - .
For additional documentation about Click IDs and related tracking parameters, see
When creating orders via externally-hosted marketing funnels and checkouts integrated to the or the , it's important to pass the required metadata on orders to ensure that the Meta Conversions API receives the proper attribution elements.
These represent browser cookie values generated by the Meta Pixel JS, installed on your externally-hosted site. Capturing these values and appending them to orders as , will post them to the Meta Conversions API on order events.