Meta CAPI vs Pixel for DTC: Why You Need Both
You need both because each one catches events the other loses. The pixel reports from the visitor's browser and the Conversions API (CAPI) reports from your server, so an ad blocker or a failed page load stops only one of them. Meta's guidance is to send the same events through both. Meta counts them once when the event name and event ID match within 48 hours. Check the Rate of Events Deduplicated in Events Manager, and aim for an event match quality score of 6.0 or higher.
Deduplication and verification rules here come from Meta's developer documentation, and the Shopify steps from Shopify's Help Centre, all checked on 1 November 2026 and linked under Sources. Our benchmark data has no tracking cell, so this post carries no MHI figures.
Pixel vs Conversions API: what is the difference?
The pixel is code that runs in the visitor's browser, and the Conversions API is a direct connection from your server or store platform to Meta. Both can send the same events, and they fail in different ways.
| Meta Pixel | Conversions API | |
|---|---|---|
| Runs in | The visitor's browser | Your server or store platform |
| Stopped by | Ad blockers, network drops, page loading errors, browser privacy limits | A broken feed or set-up error |
| Identifies people through | Browser ID (fbp) and click ID (fbc) cookies | Hashed email, phone and name, plus fbp and fbc passed from the browser |
| Best at | Browsing events from anonymous visitors | Purchases, where the checkout holds customer details |
| Shopify set-up | Facebook & Instagram app, Standard level | Same app, Enhanced or Maximum level |
Source: Meta for Developers, Conversions API best practices; Shopify Help Centre, data sharing with Meta.
Why do you need both?
You need both because the pixel and the server each lose events the other keeps, and Meta asks for the overlap. Its best practice guidance says to use the Conversions API in addition to the pixel and to share the same events through both.
A browser-only set-up misses events the pixel loses to network problems or page loading errors, and Shopify notes that a browser-based ad blocker can stop the pixel while server-to-server data can't be blocked that way.
A server-only set-up has its own gap. Your server knows the order, and it has to be told about the anonymous visitor. Browsing events, and the fbp and fbc values that connect a visitor to a click, start in the browser.
The overlap matters because Meta can use only matched events for attribution and delivery optimisation. More matched purchases gives delivery more real buyers to learn from. Send server events in real time or in batches close to real time, as Meta advises, so they can be paired with the browser copy.
How does deduplication work?
Meta treats a browser event and a server event as one when they share an event name and an event ID, and it applies this within 48 hours of the first event. These are the rules from its documentation:
- The pixel's event must match the server's event_name, and the pixel's eventID must match the server's event_id.
- Meta discards later copies it receives inside the 48 hours. Where the copies do not differ in a meaningful way, it generally prefers the one received first.
- Without an event ID, Meta can compare event_name with fbp or external_id. That fallback only works when the browser event arrives first, and it does nothing if you send from one source only.
| Source | What it sends |
|---|---|
| Pixel | fbq('track', 'Purchase', {value: 85, currency: 'USD'}, {eventID: 'order-12345'}) |
| Conversions API | event_name: Purchase, event_id: order-12345 |
Hypothetical order. Rules from Meta for Developers, handling duplicate pixel and Conversions API events.
Use one unique ID per event. The order number works well for Purchase, because both the thank-you page and the server already have it.
How to set up CAPI on Shopify
On Shopify, the Facebook & Instagram app turns on the Conversions API with a setting and no code.
- In Shopify admin, go to Sales channels, then Facebook & Instagram, then Settings, then Data sharing settings.
- Under Customer data sharing, turn sharing on.
- Choose a level. Standard uses the pixel only. Enhanced adds the Conversions API. Maximum also uses both and is the level Shopify keeps up to date with Meta's latest advertising technology.
- Connect the pixel you run ads with, if it is not already connected.
- Confirm the result in Events Manager, using the checks further down this post.
Enhanced and Maximum share the customer's name, location, email and phone to help matching. If the app was installed on Standard some time ago, raising the level is a common fix in a tracking audit.
Shopify's help page says the Conversions API sends the purchase event, so check in Events Manager which other events show a server connection. Remove any pixel code in your theme or in another app, because a second source without shared IDs is how duplicates start. Tools such as Elevar or Stape can run the server feed instead. Choose one owner for each event.
How to set up CAPI on other platforms
Most other stores use a server-side Google Tag Manager container, and a direct integration needs a developer. Meta's guide to the GTM route has these steps:
- Create a server container and host it, on Google Cloud or another provider. A managed host such as Stape saves running it yourself. Keep your web container as well.
- In the web container, point a GA4 tag at your tagging server and pass hashed customer data through data layer variables.
- In the server container, keep the default GA4 client and add the Conversions API tag from the template gallery.
- Enter your pixel ID and access token in that tag and set the action source to website. Keep the token in the server container and out of page code.
- Fire the pixel and the server event from the same trigger, with the same event ID.
- Test in GTM preview mode, then in Test Events, before you publish.
A direct integration uses the same access token and event payload. The pixel events setup guide lists the standard events and parameters to send either way. Our conversion events post explains which one to optimise for.
How to check it is working
Check four things in Events Manager after a test order: that both sources arrive, that they deduplicate, that they arrive quickly and that they match.
- Open your dataset, then Test Events. Server events need the test ID sent as test_event_code, and that code has to be removed before you go live.
- Place a test order. Meta says you should be able to verify events within 20 minutes.
- Open Purchase and read Connection Method, which shows the channel each event came through. You want both browser and server.
- Open the Event Deduplication tab and read the Rate of Events Deduplicated. Higher is better.
- Open the Event Freshness tab, which shows average delay on a scale from Real Time to Weekly.
- Read the event match quality score. Meta recommends aiming for 6.0 or higher. Our event match quality explainer covers the rating labels.
- Compare a day of Purchase events with that day's orders in your store.
What to do if the numbers look wrong
Most tracking faults show up as one of six patterns in Events Manager, and each has a specific fix. Work down the table from the top, because duplicates distort every other reading.
| What you see | Likely cause | Fix |
|---|---|---|
| Purchases near double your store orders | Copies are not deduplicating | Use the order number as the event ID on both sources |
| Only browser under Connection Method | Server feed is off | Raise the Shopify level, or check the server tag |
| Only server under Connection Method | Pixel missing from the thank-you page, or held back by a consent tool | Check the pixel install and consent settings |
| Low deduplication rate | Event names or IDs differ, or copies arrive over 48 hours apart | Align names and IDs, and send in real time |
| Freshness shows hours or days | Server events are batched | Send closer to real time; events older than 7 days are rejected |
| Match score under 6.0 | Email or phone missing, or badly formatted | Send more hashed fields and check formatting |
Source: MHI Media practice across DTC accounts; limits from Meta for Developers.
What does server-side tracking recover, and what does it not?
Server events recover purchases that happened and that the browser failed to report, but only where something links the purchase to a person. That link is usually a hashed email or phone number, so the recovery stops where those are missing.
| Recovered | Still not recovered |
|---|---|
| Purchases by iOS users who opted out of tracking | View-through conversions, where the ad was seen and never clicked |
| Purchases by people running an ad blocker | Browsing events from anonymous visitors who never give an email |
| Cross-device journeys matched on email | Purchases where the checkout email or phone differs from the buyer's Meta account |
| Purchase events lost to browser privacy settings | The link to an earlier click when cookies are blocked and no identifier survives |
Source: MHI Media practice across DTC client accounts.
Capture the email as early in checkout as you can, because a server event carrying a hashed email can be matched and one without it mostly cannot.
Which iOS 14 steps still apply?
Domain verification still applies, and the eight-event ranking that older checklists lead with should come last. The Conversions API, deduplication and match quality do more for iOS measurement.
Verify your domain because it controls who can edit links and other content tied to your site, and because Meta's server event reference says event_source_url should match the verified domain. It also keeps the domain under your own Business Manager if an agency or freelancer set up the pixel.
- In Business settings, open Brand safety and suitability, then Domains, and add your store's domain.
- Add the DNS TXT record or upload the HTML file. The DNS record is the more durable, since a theme change can remove a file.
- Click Verify, and allow time for a DNS change to take effect.
If Events Manager shows an event priority list on your dataset, put Purchase first and move on. Keep the default 7-day click, 1-day view attribution setting for reporting.
What should you expect after fixing tracking?
Expect reported purchases to change, and judge the business on store orders. A rise in attributed purchases after a Conversions API launch is better measurement of sales that were already happening.
Three habits keep the reading clean:
- Mark the date of the change, and do not compare Meta's ROAS before and after it as if performance moved.
- Keep your store's order count as the figure that tells you whether the business grew, alongside a blended view such as MER.
- Fix duplicates first. Double counting inflates ROAS and teaches delivery from bad data, which is worse than missing some events.
Any delivery benefit comes from more matched purchases over time, so give it weeks and avoid changing campaigns in the same period. We check tracking first on any account that comes to our Meta ads agency, before spend goes up.
FAQ
Is CAPI a replacement for the Meta pixel?
No. Meta's guidance is to use the Conversions API in addition to the pixel and to share the same events through both. The pixel sees browsing from anonymous visitors, and the server reports orders the browser may lose. Run both and deduplicate them with a shared event ID, so each purchase counts once.
Can I set up the Conversions API without a developer?
Yes, on Shopify. Open the Facebook & Instagram app's data sharing settings, turn on customer data sharing and choose Maximum, then confirm the result in Events Manager. On other platforms, a server-side Google Tag Manager container through a managed host covers most stores. A direct integration with Meta's API is the route that needs a developer.
Why does Events Manager show more purchases than my store?
The usual cause is failed deduplication. If the browser and server copies of a purchase have different event IDs, Meta counts both. Open the Event Deduplication tab, then check that both sources use the same event name and the same ID, such as the order number. Also check that no theme code or second app sends its own Purchase event.
Will CAPI improve my Meta ROAS?
It usually changes reported ROAS because more purchases get attributed, and that is better measurement of sales you already had. Any real gain comes later, because only matched events can be used for delivery optimisation, so more matched purchases give Meta more buyers to learn from. Judge the result on store orders and MER, and give it weeks.
Does hashing customer data mean I do not need consent?
No. Hashing changes how the data travels, and it does not settle your obligations under privacy law. Treat server events under the same consent rules as the pixel, make sure your consent tool applies to both, and say in your privacy policy that you share customer data with Meta. Take legal advice for the markets you sell in.
Sources
- Handling duplicate pixel and Conversions API events, Meta for Developers, checked 1 November 2026
- Conversions API best practices, Meta for Developers, checked 1 November 2026
- Verifying your Conversions API setup, Meta for Developers, checked 1 November 2026
- Using the Conversions API, Meta for Developers, checked 1 November 2026
- Server event parameters, Meta for Developers, checked 1 November 2026
- Conversions API with Google Tag Manager server-side, Meta for Developers, checked 1 November 2026
- Domain verification, Meta for Developers, checked 1 November 2026
- Sharing customer data with Meta, Shopify Help Centre, checked 1 November 2026