Meta Pixel on Shopify: what the native integration installs
On Shopify the most common way to connect Meta is the Facebook & Instagram sales channel. The app connects the store to an existing pixel or creates a new one and sends events without touching theme code. Before raising your Black Friday budget, it is worth checking that the integration sends the right events, once, with enough data for Meta to recognise who bought.
This article is about the native integration. If you run the Conversions API through server-side Google Tag Manager, the path is different and is covered in our article on Conversions API with server-side GTM.
The three data-sharing levels
You pick the level under Sales channels > Facebook & Instagram > Settings > Data sharing settings. According to Shopify's documentation:
- Standard: browser pixel only, which an ad blocker can stop;
- Enhanced: pixel plus Conversions API, with purchase events sent server to server and customer data (name, location, email, phone) for matching;
- Maximum: the same setup as Enhanced, updated to Meta's latest advertising features.
For a store spending on Meta campaigns, Standard misses part of the purchases. Choosing Enhanced or Maximum means sharing personal data, though, so it belongs in your privacy policy.
Standard events to check
The integration tracks seven events:
PageView: a page is viewed;ViewContent: a product is viewed;Search: an on-site search;AddToCart: a product is added to the cart;InitiateCheckout: the checkout button is clicked;AddPaymentInfo: payment details are entered;Purchase: the order is completed and the thank-you page is viewed.
Shopify states that event value is the order total including duties, taxes and discounts. If you compare the value in Events Manager with net revenue from an accounting report, the numbers will not match, and that is expected.
Which pages to test
Plan a full path: homepage, a collection, a search, a product page with variants, cart, checkout and thank-you page. Repeat it on a phone, where most campaign traffic arrives.
The Test Events tool in Events Manager
In Events Manager open Data sources, select the pixel and the Test events tab. Enter the store URL, open the site from the link provided and follow the path. Events appear in real time with the parameters sent, such as value, currency and content_ids.
What to check for each event
- each event appears once per action, not twice;
currencyis the market currency andvaluematches the displayed price;- product IDs match those in your Meta catalogue, otherwise dynamic ads cannot match products;
- for
Purchase, both the browser and the server event arrive if you use Enhanced or Maximum.
For the purchase step, place a test order and cancel it straight away. Meta's documentation notes that test events are not dropped and still reach Events Manager, so keep tests to a minimum and note the date and time.
Event match quality
Event match quality is a 0 to 10 score Meta calculates for each event sent through the Conversions API. It shows how well the customer data attached to the event lets Meta match it to an account. You find it in the pixel overview by opening an event's details.
The score depends on the data available: email, phone, name, location, IP address, user agent and browser identifiers such as fbp and fbc. On Shopify, the data-sharing level decides which customer data is sent. It is normal for Purchase to score higher than PageView, because at checkout the customer has already entered an email and address. If Purchase stays low with Enhanced active, check that the pixel connected in the app is the one your campaigns use.
Duplicates from other installations
The most common problem we find before peaks is a pixel installed twice. Meta deduplicates a browser event and a server event only if they share the same name and event_id, and only within 48 hours of the first. Two independent installations generate different IDs, so the same purchase is counted twice and cost per purchase looks better than it is.
Where to look
- Settings > Customer events: lists app pixels and custom pixels;
- theme code, especially
theme.liquid, where a snippet from a manual installation sometimes remains; - your Google Tag Manager container, if you have one;
- other apps offering "Facebook integration", such as review or feed apps.
The typical symptom is more Purchase events in Events Manager than Shopify orders over the same period. The same check applies to Google, as described in our article on how to check Google Ads conversions on Shopify.
Consent and shared data
Shopify says that in regions where the cookie banner is active, non-essential data is collected only after consent, and that pixels operate based on the consent obtained. If you use a third-party banner, it must be integrated with Shopify's Customer Privacy API, and the regions configured in both systems must match. Otherwise some data may be processed before consent.
In practice, Events Manager will show fewer purchases than real orders. The gap is expected and should not be "fixed" by reinstalling the pixel by hand. To decide which source to use for what, the same reasoning applies as for GA4 and Shopify Analytics. The consent and privacy notes in this article are not legal advice.
Checklist before raising the budget
- Data-sharing level checked and consistent with your privacy policy.
- Only one active pixel: no duplicates in Customer events, theme, GTM or other apps.
- All seven standard events tested on desktop and mobile with Test events.
value,currencyand product IDs correct on ViewContent, AddToCart and Purchase.- Purchase received from browser and server, and deduplicated.
- Purchase event match quality checked and noted.
- Cookie banner connected to the Customer Privacy API, with the same regions.
- Purchase events in Events Manager compared with Shopify orders for the last seven days.
Run these checks at least a week before campaigns launch, so you have time to fix things without touching anything during the weekend. The checklist is part of broader work on server-side tracking; if you would rather have someone set up and verify the integration, it is part of our Shopify setup service.
- meta pixel
- shopify
- conversions api
- eventi meta
- qualità corrispondenza eventi
- deduplicazione
- consenso cookie
- black friday
Frequently asked questions
Which data-sharing level should I choose on Shopify?
Standard uses only the browser pixel, which ad blockers can stop. Enhanced adds the Conversions API and shares name, location, email and phone for matching. Maximum uses the same setup as Enhanced with Meta's latest advertising features. Reflect your choice in your privacy policy.
Why does Events Manager show more purchases than Shopify orders?
There is almost always a second pixel: code pasted in the theme, a custom pixel in Customer events, a tag in Google Tag Manager or another app. Meta only deduplicates events with the same event ID, so two independent installations count the same order twice.
Do test events end up in real reporting?
Yes. Meta's documentation says events sent with the test code are not dropped and flow into Events Manager. Run a few targeted tests and note the date and time so you can recognise them in reports.
Does the pixel respect Shopify's cookie banner?
Shopify says that in regions where the banner is active, non-essential data is collected only after consent. With a third-party banner you need the Customer Privacy API integration, and the configured regions must match.
Sources
- Facebook data sharing — Shopify Help Center
- Customer privacy settings — Shopify Help Center
- Customer Privacy API — Shopify Developers
- Handling Duplicate Pixel and Conversions API Events — Meta for Developers
- Using the Conversions API — Meta for Developers
- About event match quality — Meta Business Help Center
Related articles
Analytics & Tracking · 6 min read
Google Ads conversions on Shopify: check for double counting before peak season
How to find purchases counted twice across the Google & YouTube app, GTM and imported GA4, and keep a single primary conversion before Black Friday.
Analytics & Tracking · 6 min read
Facebook Conversions API with Server-Side GTM: The Ultimate Guide for Your Ecommerce
Learn how to implement Facebook Conversions API (CAPI) via server-side Google Tag Manager to overcome client-side tracking limitations, improve Facebook Ads attribution, and enhance your ecommerce data privacy.
Analytics & Tracking · 6 min read
GA4 vs Shopify Analytics: why the numbers don't match (and which to trust)
Different sessions, orders and revenue in GA4 and Shopify: the structural causes of the discrepancy, which source to use for each decision and when the gap signals a bug.