Meta Pixel and CAPI double-counting orders in GTM

Learn why your Meta Conversions API and browser Pixel setup in Google Tag Manager is double-counting orders, and how to fix the missing event deduplication.

Are your Meta campaign reports claiming twice as many purchases as your ecommerce platform actually recorded yesterday?

If you recently enabled the Conversions API alongside your existing browser Pixel, and you configured both through Google Tag Manager, you are likely sending every order twice without telling Meta they are the same transaction.

Meta allows you to send conversion signals from both the browser and the server. When they receive the same event from both places, they keep one and discard the other. They only know to do this if both events carry the exact same event identification parameter. When you build this dual setup in Google Tag Manager, that deduplication key is missing by default.

The mechanism of double-counting

Analytics platforms record exactly what you tell them to record. If you instruct the browser to report a purchase, and you also instruct the server to report a purchase, the receiving platform sees two distinct orders. To fix this, you must generate a unique string for every checkout event and attach it to both payloads.

In Google Tag Manager, you generate this unique value using a specific variable. You must then map this exact variable to the browser tag and the server transport tag. The browser tag sends the value directly to Meta. The server transport tag carries the value to your server container, which then extracts it and forwards it to the Conversions API.

When Meta processes the incoming data, it checks the event name and the identification string. If it sees a browser purchase and a server purchase with identical identification strings arriving within a 48-hour window, it processes the first one and drops the duplicate. If the identification strings do not match, or if either one is missing, Meta records two separate purchases.

The commercial consequence of missing deduplication

Double-counting orders breaks your marketing reports. If a campaign drove fifty real purchases, but Meta claims it drove one hundred, your reported cost per acquisition drops by half.

This matters when those numbers influence where your money goes. The advertising algorithm relies on conversion data to decide who should see your ads. If you feed the algorithm a false volume of successful purchases, you train the network based on artificial data. The bidding system assumes it is performing exceptionally well and will increase spending on segments that might actually be unprofitable.

Your management accounts will show the true revenue, but your digital dashboard will show a fictional return on ad spend. You spend serious money chasing an audience that the algorithm mistakenly believes is converting twice as often as they really are.

Daily campaign spendReal Shopify ordersMeta reported purchasesReported cost per purchaseMissing event_id impact
£1,5004080£18.75Artificial inflation
£2,00055110£18.18Artificial inflation
£1,8004896£18.75Artificial inflation
£2,20060120£18.33Artificial inflation
£7,500 total203 true orders406 reported£18.47 average100% reporting gap

(The numbers above are illustrative figures to demonstrate the reporting gap.)

Diagnosing the container setup

We follow the journey from the checkout button to the record your team actually receives in the advertising platform. We check whether the identification parameter is generated, attached and formatted correctly across both environments.

GTM configuration stateMeta Pixel payloadMeta CAPI payloadDeduplication result
No unique variable createdMissing identificationMissing identificationEvents double-counted
Unique ID on browser onlyID presentMissing identificationEvents double-counted
Unique ID on server onlyMissing identificationID presentEvents double-counted
Shared unique variableID presentID presentSuccessfully deduplicated

How we resolve the gap

We investigate your configuration and check what the containers actually push to the ad networks. If orders are being counted twice, we investigate what is happening and explain what needs changing.

We implement a dedicated variable to generate the required unique string. We configure the browser tags to read this string and append it to the outgoing payload. We then update the server transport mechanism to carry the exact same string to your server container. Finally, we map the server-side tag to extract the value and send it onward to the Conversions API.

We verify the fix by running test transactions and observing the raw network requests. We check the event manager to confirm that the platform actively drops the redundant signal. The aim is straightforward. When your dashboard says you have fifty purchases, there should be fifty actual purchases in your store.

To read more about related measurement topics, review our insights on Facebook Conversion API tracking and server-side ecommerce tagging. If you need help untangling your current setup, see our Google Tag Manager services.

Frequently asked questions

Why does Meta double-count my conversions?

Meta double-counts conversions when you send the same purchase event from both the browser Pixel and the Conversions API without a shared identification key. The platform assumes these are separate actions from different users. You must explicitly link them using a unique event identification parameter.

What is an event identification parameter in Meta tracking?

An event identification parameter is a unique string of characters generated for a specific action, such as a checkout completion. Meta uses this string alongside the event name to recognise when multiple signals represent the same real-world action. If the string matches across different data sources, Meta deduplicates the event.

How do I pass the identification key from GTM to the server?

You pass the identification key by adding it as a custom parameter in your server transport tag. The browser container reads the generated value and sends it alongside the ecommerce payload to your server endpoint. The server container then extracts this parameter and includes it in the outbound request to the Conversions API.

Do I still need the browser Pixel if I use the Conversions API?

Yes, maintaining both the browser Pixel and the Conversions API is the recommended approach for maximum signal resilience. The browser Pixel captures granular user interactions that the server might miss, while the server ensures the core conversion event arrives even if browser tracking fails. They work together as long as you configure deduplication correctly.

How long does Meta wait to deduplicate events?

Meta holds events for a 48-hour window to check for matching identification strings. If a server event arrives a day after the browser event, but both share the same name and identification key, the platform will still successfully drop the duplicate. This accommodates delays in server processing or delayed offline conversion uploads.