Ad tracking that holds up: Pixel, Conversions API and UTMs

If the numbers are wrong, every decision built on them is wrong. Set tracking up before any money is spent.
Illustration: burgundy silk ribbons rising from left to right, with a small brass sphere above them

The short answer

Reliable ad tracking needs three layers. The Meta Pixel records events in the browser. The Conversions API sends the same events from your server, so measurement survives ad blockers and browser limits. Both send a matching event_id, so Meta counts each conversion once. Consistent UTM tags on every ad link let GA4 attribute visits and leads to the right campaign.

Pixel and Conversions API together

One conversion, counted onceThe browser and the server both report the event; a shared event ID lets Meta keep one.
  1. Browser PixelSends the event with an ID
  2. Conversions APISends the same event and ID
  3. Meta matchesWithin 48 hours
  4. Counted onceThe duplicate is dropped

The Pixel runs in the visitor's browser, where ad blockers, privacy settings and short cookie lifetimes can stop events being recorded. The Conversions API (CAPI) sends events from your server or platform directly to Meta. Running both gives better coverage, but only if Meta can tell they describe the same event.

How Meta deduplicates browser and server events
RuleDetail
Match on event_id and event nameThe Pixel's eventID must equal the server event's event_id, with the same event name
Time windowMatching events sent to the same Pixel within 48 hours are counted once
Which one winsIf both arrive within about 5 minutes, Meta keeps the browser event
LimitationTwo server events with the same data are not deduplicated against each other

UTM conventions

Google Analytics says to always include utm_source, utm_medium and utm_campaign on tagged links. Values are case-sensitive, so Instagram and instagram become two sources. Agree a convention once and keep to it.

A convention that keeps reports clean
utm_source=facebook | instagram | google | linkedin | newsletter
utm_medium=paid | social | email | referral
utm_campaign=<service>-<objective>-<yyyy-mm>   e.g. aeo-leads-2026-11
utm_content=<creative concept>                 e.g. answer-first-hook
  • Don't add UTMs to Google Ads links when auto-tagging is on. The gclid already carries the data.
  • Never put UTMs on internal links. They overwrite the visitor's real source.

Pre-launch checklist

  1. Pixel installed and firing the events you'll optimise for (Lead, Purchase).
  2. Conversions API sending the same events, with matching event_id.
  3. A test conversion visible in Meta Events Manager, once, not twice.
  4. Google Ads conversion tracking or GA4 conversions imported.
  5. Every ad link tagged by the convention above.
  6. Leads arriving in your CRM with their source and campaign.

Questions

Do I need the Conversions API if I have the Pixel?

Not strictly, but browser-only tracking loses events to ad blockers and privacy settings. Server-side events fill the gaps, and Meta's delivery optimises better with more complete data.

Why do Meta and GA4 show different numbers?

They count differently. Meta credits conversions to ad views and clicks within its attribution window, while GA4 credits the session's source. Neither is wrong; decide which you use for which decision.

Is it legal to send customer data to Meta?

It depends on your jurisdiction and consent. Hashed contact details are commonly sent through CAPI, but you need a lawful basis and a clear privacy notice. Take advice for your market.

Sources

First-hand sources wherever they exist. Each was checked on the date shown; studies are named with their limits.

  1. Handling duplicate Pixel and Conversions API eventsMeta for Developers. Checked .
  2. Conversions API best practicesMeta for Developers. Checked .
  3. URL builders: collect campaign data with custom URLsGoogle Analytics Help. Checked .

Want this done properly for your business? We can do it with you.

Tell us your challenge