To set up Facebook and Instagram ads for your Shopify store, install the Facebook & Instagram sales channel from the Shopify App Store. This connects your products and data to Meta's platforms, allowing you to create and manage ad campaigns and track performance.
This channel connects your Shopify products and data to Meta's platforms, allowing you to create and manage ad campaigns and track their performance (Shopify Help Center).
Key takeaways
- Setting up ads requires installing the Facebook & Instagram sales channel in your Shopify admin (Shopify Help Center).
- You must connect a Meta Pixel to track customer actions and measure ad effectiveness.
- The Conversions API works with the Pixel to send data directly from Shopify's servers to Meta, improving tracking accuracy by capturing events that browser-based tracking might miss.
- Shopify provides three data-sharing levels: Standard, Enhanced, and Maximum. The Maximum level uses the Conversions API for more reliable tracking.
What you need before you start
Before you can connect your Shopify store to Facebook and Instagram, you need a few assets in place on Meta's side. Ensure your store is ready and you have the required accounts to make the setup process smooth.
Prerequisites checklist:
- A Shopify online store: Your store must not be password-protected (Shopify Help Center).
- A Facebook account: You will need a personal Facebook account to connect to a Meta Business Portfolio.
- A Facebook Page: Your business needs a published Facebook Page.
- A valid sender email address: This is configured in your Shopify general settings.
How to set up the Facebook & Instagram sales channel
The Facebook & Instagram sales channel is the bridge between your Shopify admin and Meta's advertising ecosystem. Installing it is the first step to syncing your products and enabling ad tracking.
In Shopify, follow shopify.com.
What are the Meta Pixel and Conversions API?
The Meta Pixel and Conversions API are tools that work together to track what customers do on your store after seeing your ads. Accurate tracking is essential for understanding ad performance, optimizing campaigns, and reaching the right audience.
The Meta Pixel is a piece of code that runs in a customer's browser. It tracks events like viewing a product page or adding an item to the cart. According to Wetracked, however, its effectiveness can be limited by browser-based ad blockers and privacy settings, which means some conversions are not captured.
The Conversions API (CAPI) is a server-to-server connection that sends event data directly from your Shopify store's backend to Meta's servers. This method is more reliable because it is not affected by a customer's browser settings. According to Wetracked, using both the Pixel and CAPI provides a more complete picture of your campaign performance, as they are designed to work together.
Example
A customer clicks a Facebook ad, views a product, and adds it to their cart, but closes the browser before buying. The Meta Pixel sends the "ViewContent" and "AddToCart" events from the browser. Later, the customer returns to your store directly and buys the product. The Conversions API sends the "Purchase" event from Shopify's server, ensuring Meta receives the data even if the browser blocked the pixel on the thank-you page.
How to set up data sharing with Meta
Once the sales channel is installed, you need to connect a Meta Pixel and choose how much data your store will share. This is done within the sales channel's settings in your Shopify admin.
In Shopify, follow shopify.com.
Which data-sharing level should you choose?
Shopify provides three data-sharing levels: Standard, Enhanced, and Maximum (Shopify Help Center). The Maximum setting uses the Conversions API to send events from Shopify's server directly to Meta, in addition to the browser-based Meta Pixel. This server-to-server connection is not affected by browser ad blockers.
How to verify your setup is working
After configuring your data sharing and connecting your pixel, it is important to check that events are being received correctly by Meta. Go to the Events Manager in your Meta Business Portfolio and select the dataset (pixel) you connected to Shopify. In the Events tab, you should see activity. When testing, look for events labeled as coming from both "Browser" and "Server". According to Wetracked, if you only see "Browser" events, your Conversions API may not be configured correctly.
Common mistakes to avoid
Setting up ad tracking can be complex, and a few common errors can lead to inaccurate data.
- Assuming CAPI is working because the pixel is: A working browser pixel does not mean server-side events are being sent. According to Wetracked, always verify in Meta Events Manager that you see events from both "Server" and "Browser" sources.
- Relying on browser-only tracking: With increasing privacy restrictions and ad-blocker use, relying only on the Meta Pixel means you are likely missing a significant number of conversions.
- Duplicate tracking: If you use the native Shopify integration, ensure you are not also sending events from another app or from old code in your theme. Meta expects the same event ID for both pixel and server events for deduplication, and Shopify's native setup handles this automatically.
Frequently asked questions
What is the difference between the Meta Pixel and the Conversions API?
The Meta Pixel tracks customer actions through their web browser. According to Wetracked, the Conversions API sends event data from Shopify's server directly to Meta's server, a method that is more reliable because it is not affected by a user's browser settings or ad blockers.
Can I run Facebook ads without a Meta Pixel?
While you can run ads without a pixel, you will not be able to track conversions, optimize your campaigns for specific actions like purchases, or retarget people who have visited your store. According to Wetracked, for Shopify stores that want stable return on ad spend, tracking with the Meta Pixel and Conversions API is no longer optional.
Why do my Shopify sales not match the sales reported in Meta Ads Manager?
Discrepancies can happen for several reasons, including tracking gaps from ad blockers and different attribution models between platforms. If your Shopify revenue consistently exceeds what Meta reports, your tracking setup may be missing conversions. According to Wetracked, using the Conversions API can help reduce these discrepancies.
How do I create a Meta Pixel?
You can create a new Meta Pixel directly within the Facebook & Instagram sales channel setup in Shopify. According to Wetracked, the setup process gives you the option to choose an existing pixel or create a new one.