You normally want both the Meta Pixel and the Conversions API. The Pixel sends events from the shopper's browser, the Conversions API sends them from a server, and Meta recommends sending the same events through both and deduplicating them, because the server can catch some of what the browser loses.
On Shopify there is nothing to build: the Facebook & Instagram app runs both once data sharing is set to Enhanced or Maximum. For the setup itself, see our guide to Shopify server-side tracking.
What each one does
The Meta Pixel is JavaScript on your store. It logs what visitors do as events, such as product views, add-to-carts and purchases, and relies on Facebook cookies to tie a visitor to a Facebook account.
The Conversions API, which many people still call the Facebook Conversion API or CAPI, sends data to Meta from a server, a platform like Shopify, an app or a CRM. Server events go to the same Pixel ID and are processed like Pixel events, so they work for measurement, reporting and optimization. What many people call a Meta Pixel API is usually the Conversions API.
The difference between the Meta Pixel and the Conversions API
| Aspect | Meta Pixel | Conversions API |
|---|---|---|
| Sent from | The shopper's browser | A server. On Shopify, the purchase goes between Shopify's and Meta's servers |
| What can stop it | Ad blockers, browser settings, connection problems, page load errors | Not browser ad blockers, but missing consent or a setup error can hold it back |
| Data sent | IP address, browser and page, Pixel ID, Facebook cookie, button clicks and your events | The event plus customer information for matching. On Shopify, Enhanced and Maximum share name, location, email and phone number |
| Events on Shopify | PageView, ViewContent, Search, AddToCart, InitiateCheckout, AddPaymentInfo, Purchase | Shopify only mentions Purchase |
| Setup on Shopify | Facebook & Instagram app. Standard is the Pixel alone | Same app at Enhanced or Maximum. No code |
| Consent | In markets set up in Shopify to require consent, usually the EEA and UK, the app's Pixel waits for permission | Same rule: no event data about people who have not given required consent |
Why Meta recommends using both
Meta sorts setups into three types and recommends Redundant Setup, with all events going through both Pixel and server. Meta says it performs on par with or better than the Pixel alone, while Split Setup, where browser and server each send different events, is a weaker option. Server-Only comes after one of the other two.
The server can carry events the Pixel loses to network trouble or page load errors. The Pixel, in turn, stores the browser ID in the _fbp cookie and the click ID in _fbc, and the server can pass those values along with its own events.
Conversions API benefits
- Ad blockers can't stop it. Data sent server to server can't be blocked by a browser ad blocker.
- Fewer lost events. Server data suffers less than the Pixel from page load errors and connection problems.
- Better matching. The server can send customer details such as email and phone number, SHA-256 hashed as Meta requires. Only matched events count toward attribution and ad delivery optimization.
- Events outside the browser. A server can also send offline sales and later events the Pixel never sees. Don't expect the Shopify app to do this.
- Lower cost per result, according to Meta. The steadier connection from running both helps bring it down. In your own account, "Additional conversions reported" shows the extra conversions from the last 7 days.
The Conversions API gives Meta more to optimize on, but it won't fix a slow product page or an unclear offer. That is a job for conversion rate optimization, where our first step is checking that the data and tracking can be used.
How deduplication works
When the same purchase arrives from both browser and server, Meta has to recognize it as one purchase. Otherwise conversions are overstated, which distorts conversion rate, ROAS, attribution and your budget decisions.
Meta's recommended method compares event name and event ID: the Pixel's eventID must equal the server's event_id. If two events match and were sent within 48 hours, Meta only counts the first. If they arrive within five minutes of each other, Meta favors the browser event.
- Each event gets one event_id, shared by browser and server and never reused for another event. An event_id identifies one event, while an external_id identifies a customer.
- Deduplication usually fails because of a missing or mismatched event_id, a delay between browser and server, or wrong parameter names.
- Deduplication only matters for events that come from both sides.
Meta says Shopify handles the deduplication parameters itself. It doesn't say which IDs Shopify sends, so check the Event Deduplication tab in Events Manager.
What you get on Shopify through the Facebook & Instagram app
The app sits under Sales channels in your Shopify admin, and the data sharing level decides whether you have the Conversions API. Standard is the Pixel alone. Enhanced adds the Conversions API, and Maximum is the same plus what Shopify calls "Facebook's latest advertising technology."
The Pixel also has a data access setting under Settings > Customer events > the Pixel's name. Meta recommends Always on. It starts on Optimized, which lets Shopify pause data from a Pixel that shares more than it needs to.
Old Meta Pixel code in theme.liquid has to go, or the store ends up with more than one Pixel and duplicate or incorrect data. If you work with an ad agency or an ads app, make sure a new Pixel won't create duplicates. No Pixel yet? Start by setting up the Meta Pixel on Shopify.
A browser extension can show no events while the integration is running, because server events never pass through the browser. Use Meta's Test Events tool instead.
When the app is enough
On many Shopify stores the purchase matters most, so the app at Enhanced or Maximum is enough as long as it sends the purchase correctly. Check these five things in Events Manager:
- Connection Method for Purchase shows both browser and server.
- The Event Deduplication tab shows purchases being merged.
- On the Event Coverage tab, you reach Meta's target: Conversions API events equal at least 75% of Pixel events.
- Event Match Quality is 6.0 or higher.
- Connection Method for the other events (AddToCart, InitiateCheckout and so on) shows whether they also arrive from the server, and so how close the app gets to Meta's Redundant Setup.
Shopify's own orders aren't affected by blocked Pixels, so compare purchase value and currency against them.
If Connection Method shows that events other than the purchase only arrive from the browser and you want them server side, you need more than the app. The same goes if you want offline sales included or the same events across several ad platforms.
FAQ
Can you use the Conversions API without the Meta Pixel?
Yes, that is called Server-Only. Meta advises moving to it only once you have a setup where Pixel and server run together.
What is the difference between Enhanced and Maximum?
Both levels use the Conversions API and share the customer's name, location, email and phone number, and Meta's Shopify checklist accepts either. Maximum adds what Shopify calls "Facebook's latest advertising technology," without explaining what that is.
What is a good Event Match Quality score?
It is a score out of 10 for how well the customer information on your server events can be matched to Meta accounts. It only exists for web events, and Meta typically recommends 6.0 or higher. Email and click ID matter most.
Does Meta still get the purchase if a shopper declines cookies?
Don't count on it. The Conversions API is not a way around the EU ePrivacy Directive and other data-sharing rules. Shopify doesn't say what the app does for an EU shopper who declines, and GDPR compliance is your own responsibility.
Why does Events Manager show more events than you have orders?
Events Received in Event Overview is the raw sum from browser and server before deduplication, so it looks too high when both send the purchase.
Help with Meta Ads and tracking
Proper Pixel setup and conversion tracking are part of our Meta Ads work for Shopify brands. We always start with a discovery call, then audit your ad account.
Contact us and tell us how your Pixel is set up today.