Back to Insights

Conversions API and enhanced conversions

How to send sales to Meta and Google from your server with the Conversions API and enhanced conversions, without counting the same sale twice.
Dois meios bilhetes que encaixam

On this page

Meta’s Conversions API and Google’s enhanced conversions send sales to the platforms from the store’s server, with hashed customer data. Both help link more sales to the ads that drove them, which improves reporting and what automated bidding learns from. The main risk is counting the same sale twice.

Meta’s Conversions API

The Conversions API receives events (a purchase, a form, a cart) sent by the server, instead of only from the pixel in the browser. Meta treats these events the same way as pixel events, and recommends sending both to the same pixel ID.

Each event can carry customer data, such as email or phone, hashed with SHA-256 before sending. The more useful data an event carries, the higher the event match quality shown in Events Manager.

How to avoid double counting

When the same purchase arrives from the pixel and from the API, Meta only counts one if both have the same event name (event_name) and the same identifier (event_id). The simplest identifier is the order number. Meta compares events received up to 48 hours apart. If the pixel and API events arrive within five minutes of each other, the browser event is kept.

The most common mistakes are the pixel and the API using different identifiers, one of them not sending an identifier at all, or names that don’t match (Purchase on one side and purchase on the other).

Google’s enhanced conversions

Enhanced conversions add hashed customer data, such as email, name or address, to the Google Ads conversion. Google matches it against signed-in Google accounts and attributes the conversion to the ad click or view.

There are two variants, one for the website and one for leads.

  • For the website, the data goes with the conversion tag, through the Google tag, Tag Manager or the API. Through the API, it can be sent up to 24 hours after the conversion.
  • For leads, the form data is used when the company imports closed sales later, for example from its CRM. Since 15 June 2026, these uploads go through Google’s Data Manager API.

Google recommends using enhanced conversions together with Consent Mode. Customer data is only sent when the ad_user_data signal is granted.

Consent

Sending a customer’s data to an advertising platform is processing of personal data, even when it is hashed. The cautious position is to send Meta and Google only the events of people who accepted advertising cookies, and to state that purpose in the privacy policy. The final decision belongs to the company and its lawyer.

Where to start

  1. Check whether your store platform already has an official integration with the Conversions API and enhanced conversions. Many do, and they handle most of the work without a server of your own.
  2. Confirm that the pixel and the API send the same order number as the identifier.
  3. Choose which customer data to send and confirm it only goes out with consent.
  4. Make a test purchase and watch it arrive once in Meta’s Events Manager and in the Google Ads conversion diagnostics.
  5. Follow event match quality in Meta and the status of enhanced conversions in Google Ads over the next two weeks.

When the store uses several platforms and events, or wants to send data only the server knows, sending by API usually goes through server-side tracking.

These uploads are the fourth layer of marketing measurement with consent. Klevie installs the Conversions API and enhanced conversions and checks that no sale is counted twice. If you want your setup reviewed, book a call.

Sources: Meta (Conversions API documentation, server event parameters and deduplication of pixel and server events), Google (About enhanced conversions, enhanced conversions for web in the Google Ads API, and setting up enhanced conversions for leads). This article covers the technical side and is not legal advice.

Newsletter

Get our insights straight to your inbox.

Cases, articles, reports, and our take on what’s happening in the market.

Done. You’re on the list.

Picture of Ricardo Vasconcelos

Ricardo Vasconcelos

Keep reading

Folha de selos com um selo duplicado

Tracking errors in e-commerce

Seven tracking errors that inflate or hide sales in online stores, from delayed payments to payment gateways, and how to find them in one month.
Painel de comutação com cabos ligados

Server-side tracking

What server-side tracking is, what it improves in cookies, blockers and data control, what the server costs and when it pays off for an online store.
Portão de jardim meio aberto

Cookie banners in the EU

What the ePrivacy Directive and European data protection authorities require from a cookie banner, and how its design affects marketing measurement.