Tracking Pixels and Conversions APIs: How an Ad Platform Knows a Sale Happened

Illustration of a person holding a paddle-shaped device toward a yellow figure emitting signals, with a machine labeled “CARDCANO UNIVERSITY” and a sun icon in the background.

When you run an ad and someone buys, the ad platform doesn’t magically know it happened. Something on your side has to tell it. That something is a small piece of tracking code, and how well it’s set up decides whether the numbers in your ad account mean anything at all.

Here’s how conversion tracking actually works. A tracking pixel sits on your website and reports events back to the platform from the visitor’s browser: a page view, a form fill, a purchase. The trouble is that browsers now block a big share of those reports.

So the platforms added a second path, a Conversions API, which sends the same events from your own server instead, where blockers can’t reach. Run both and match them up, and you get a fuller, more honest count.

There’s a reason your ad account often reports more sales than you actually made, and it isn’t the platform lying to you. It comes down to one setup detail, and once you can see it, you can check it yourself.

You don’t have to take any of this on faith from whoever set it up. Every piece of it is something you can look at in a few minutes.

What a tracking pixel actually records

A tracking pixel is a tiny piece of code on your site, either a 1 by 1 transparent image or a snippet of JavaScript. When a visitor loads a page or does something you care about, the pixel fires and sends a message to the platform: this person just viewed this page, submitted this form, or bought this thing for this amount.

Along with the event, it sends details like the value of the purchase, the time, and the visitor’s device, and it drops a cookie so the platform can recognize that visitor again. That cookie is what lets the platform connect the sale back to the ad the person clicked days earlier, which is how the ad you paid for gets credit for the result.

That’s the whole job of a pixel. It watches for the events you defined and phones them home from the browser.


Why the pixel misses a growing share of your sales

The catch is that the pixel fires from the visitor’s browser, and browsers have spent years getting better at blocking exactly this kind of reporting.

A few things chip away at it:

  • Ad blockers and privacy extensions stop tracking scripts outright. Roughly 30 to 40 percent of desktop users run one, so those events never fire at all.
  • Safari’s tracking prevention limits how long a tracking cookie lives, often to seven days and as little as 24 hours for a cookie tied to an ad click, so a sale a week after the click can lose its trail.
  • iOS App Tracking Transparency lets iPhone users opt out, and when someone taps Ask App Not to Track, much of the signal from that phone goes dark.
  • Third party cookies are being switched off across browsers, ending the old way of following a visitor from one site to the next.

Add it up and a browser only pixel typically undercounts conversions by something like 20 to 40 percent. The direction of that error matters: your real results are usually better than the pixel shows, not worse. People are buying that the pixel never saw.


What a Conversions API sends instead

A Conversions API is the server side answer to that blocking. Instead of relying on the visitor’s browser to report the sale, your own website’s server sends the event straight to the platform, computer to computer. Ad blockers and Safari’s cookie rules live in the browser, so they can’t touch an event that never went through the browser in the first place.

Meta calls its version the Conversions API. Setting it up means your site, through a plugin, your ecommerce platform, or a tag manager, sends events like a purchase or a lead directly from the server. The payoff is a more complete count, especially on iPhones and in browsers that block the pixel.

It doesn’t replace the pixel. The pixel still catches things the server doesn’t see easily, like on page behavior, so the point is to run both and let each cover the other’s blind spots. If you want the fuller picture of which form fills, calls and bookings actually count, the server side path is a big part of getting there.


How the two are matched so a sale isn’t counted twice

Here’s the setup detail from the opening. If your pixel reports a purchase from the browser and your Conversions API reports the same purchase from the server, the platform has heard about one sale twice. Left alone, it would count both, and your numbers would inflate.

Deduplication is how the platform avoids that. Both the pixel and the server send the event with the same event ID and the same event name, inside a time window (Meta uses 48 hours). When the platform sees two events carrying the same ID and name, it understands they’re the same action and counts it once, marking it deduplicated.

The failure is just as simple. If one side is missing that event ID, the platform has nothing to match on, so it counts both the browser event and the server event as separate sales. That’s exactly how an ad account ends up reporting more conversions than you actually got. The cause is usually a single missing event ID that nobody set on one side, and it’s something you can check for yourself.


Google’s version, in plain words

Google uses different names for the same ideas. The Google tag is Google’s pixel: a snippet on your site that fires conversions from the browser.

Enhanced Conversions is Google’s way of recovering some of what the browser loses. It sends securely scrambled first party data you already collected, like a hashed email or phone number, so a conversion can still be matched even when the cookie is gone. Server side tagging is Google’s version of the Conversions API, sending events from a server instead of the browser.

Different labels, same three moves: a browser tag, a way to recover blocked signal, and a server side path. If you run Google Ads alongside your Google Analytics setup, these are the pieces feeding it.


How to check your own conversion tracking is firing

You don’t need to trust a contractor’s word that any of this is working. You can watch it happen yourself.

On the Meta side, open Events Manager and use the Test Events tab: it shows events landing in real time as you click around your own site. The free Meta Pixel Helper browser extension does the same thing live on the page, flagging what fires and what’s broken. Do a real test, submit your own form or run a small test purchase, and confirm the event shows up.

On the Google side, Google Tag Assistant shows whether your tags fire on each page, and inside Google Ads each conversion action carries a status. “Recording conversions” means it’s working, while “No recent conversions” or “Inactive” on an action you expect to see firing is a red flag worth chasing. This is the same instinct behind keeping your own hands on your accounts rather than only ever seeing a report someone else made.


What to do

If all you have is a browser pixel, assume you’re undercounting, and treat the numbers in your ad account as a floor rather than the truth.

Add the Conversions API on Meta and the server side equivalent on Google, or ask whoever runs your ads to, and make sure deduplication is set up so the pixel and the server share the same event ID. Then verify it yourself with Test Events, the Pixel Helper, or Tag Assistant before you trust a single number in a report.

The one habit that protects you is checking the events with your own eyes at least once. A number you watched fire is worth more than a dashboard you were handed.


FAQ

Do I still need the pixel if I have the Conversions API?

Yes, run both. The pixel catches browser side behavior the server doesn’t see easily, and the Conversions API catches sales the browser blocks. Together they give the fullest count, and deduplication makes sure a sale reported by both is only counted once.

Why does Facebook show more conversions than I actually got?

Usually it’s a deduplication problem. If your pixel and your Conversions API both report the same sale but they aren’t sharing the same event ID, the platform can’t tell they’re the same action and counts both. Fixing the event ID on both sides brings the number back to reality.

How do I know if my Facebook pixel is working?

Use the Test Events tab in Events Manager, which shows events arriving in real time, or install the free Meta Pixel Helper browser extension and watch what fires as you move around your site. Then do a real test, like submitting your own lead form, and confirm the event appears.

What is event deduplication?

It’s the platform recognizing that a browser event from the pixel and a server event from the Conversions API describe the same action, and counting them once instead of twice. It works by matching the same event ID and event name within a set time window.

Did iOS 14 break my conversion tracking?

It limited it. App Tracking Transparency lets iPhone users opt out of a lot of tracking, which cut the signal from those devices. It didn’t kill tracking, but it made the browser pixel less reliable, which is a big part of why server side tools like the Conversions API matter now.

What are Enhanced Conversions in Google Ads?

Enhanced Conversions send securely scrambled first party data you already collected, such as a hashed email or phone number, so Google can still match a conversion when the cookie is missing. It recovers some of the sales a browser only tag would lose.

Ready to take the first step?

A group of people in business attire collaborate in a modern office, standing by a large whiteboard covered with diagrams, notes, and sticky notes, while others sit at a table with laptops and papers.