Conversion Tracking

How Conversion Tracking Works: A Marketer's Guide

What conversion tracking is, how tags and pixels report actions back to platforms, and why browsers blocking cookies pushed tracking to first-party and server-side.

11 min read
Quick answer

Conversion tracking measures the valuable actions people take after clicking your marketing, like a purchase or a form submission. It works by placing a small piece of tracking code (a tag or pixel) that fires when someone completes the action and reports it back to the platform, such as GA4, Google Ads, or Meta. Because browsers increasingly block third-party cookies, modern conversion tracking leans on first-party data and server-side tracking.

Clicks and traffic feel like progress, but they don’t pay the bills. Conversion tracking is how you connect your marketing to the actions that actually matter: purchases, leads, sign-ups. It answers the only question that counts, which is “is this working?”

This guide explains what conversion tracking is, how it works under the hood, and why it got harder (and what to do about it). It’s the anchor for our conversion tracking guides, and we’ll link the detailed ones as they go live.

What conversion tracking is

A conversion is a valuable action you want people to take. What counts is up to your business:

  • An online store: a purchase.
  • A service business: a filled-out contact form or a phone call.
  • A SaaS product: a free trial or a demo request.

Conversion tracking records those actions and ties them back to the marketing that caused them, so you can see which campaigns earn their keep.

How it works, step by step

The mechanics are the same across almost every platform:

  1. Someone clicks your ad, email, or search result and lands on your site.
  2. They browse, and (ideally) complete the action you care about.
  3. A small piece of tracking code, a tag or pixel, fires at that moment.
  4. It sends a message to the platform: “a conversion happened, here are the details.”
  5. The platform matches that conversion back to the click that started it and credits the campaign.

That matching step is where cookies and privacy come in, which is what changed in the last few years.

The pieces: tags, pixels, and events

These words get used loosely, so here’s what they mean:

  • A tag is any piece of tracking code on your site. GTM is how most marketers manage them (see the Google Tag Manager guide).
  • A pixel is an older word for a tracking tag, from the days when it was a 1x1 invisible image. Meta still calls its tag “the Meta Pixel.” For the full picture, see what a marketing pixel is.
  • An event is a single recorded action (a click, a purchase). A conversion is an event you’ve flagged as valuable.

Where conversions get tracked

Each platform has its own conversion system, and they overlap.

PlatformWhat it’s calledBest for
Google Analytics 4Key eventsMeasuring actions across all your channels
Google AdsConversionsBidding and reporting on Google ad spend
Meta (Facebook/Instagram)Meta Pixel + Conversions APIFacebook and Instagram ad performance

A common setup: mark the action as a key event in GA4, then import it into Google Ads as a conversion. For platform-by-platform setup, see the Meta Pixel guide and the Google Ads conversion tracking guide.

Cookies, privacy, and why tracking got harder

For years, conversion tracking leaned on third-party cookies, small files that let platforms follow a user across different sites. That foundation has cracked, and a lot of older advice is now wrong.

Here’s the real state of things:

  • Chrome kept third-party cookies. Google planned to remove them, then reversed course in 2024. They still work in Chrome, now under a user-choice model rather than a forced shutdown. Google has also wound down much of its Privacy Sandbox effort. See Google’s Privacy Sandbox for the current position.
  • But Safari and Firefox block them by default, and have for years. A large share of your visitors never had third-party cookies working in the first place.
  • Many people block tracking with browser settings, extensions, and consent choices.

So the takeaway isn’t “third-party cookies are dead.” It’s that they were never reliable everywhere, and building your measurement on them leaves gaps. The fix is to lean on data you own.

First-party data and server-side tracking

Two approaches make conversion tracking hold up in this environment:

First-party data is information collected on your own domain, with consent, using your own cookies. Browsers treat it far more kindly than third-party cookies. GA4 is built around a first-party model.

Server-side tracking sends conversion data from your own server to the platform, instead of relying only on the visitor’s browser. Because it isn’t subject to the same browser blocking, it captures more conversions. Meta’s version is the Conversions API (CAPI); Google offers server-side tagging through GTM.

You don’t need these on day one. But as browser restrictions tighten, they’re where serious conversion tracking is headed.

Attribution: who gets the credit

Attribution is how credit for a conversion gets split across the touchpoints that led to it. If someone finds you through organic search, clicks a Facebook ad a week later, then converts, which one gets the credit?

Different models split credit differently, from simple last-click rules to more complex ones, and each platform uses its own default. That’s the main reason GA4, Google Ads, and Meta rarely show identical conversion counts. It’s normal. We’ll cover attribution models in a dedicated guide.

How to start tracking conversions

You don’t need every platform at once. A sensible order:

  1. Define your conversions. List the 3 to 5 actions that matter to your business.
  2. Set them up in GA4 as key events. Start with the key events guide.
  3. Tag your campaign links with UTM parameters so every conversion gets credited to the right campaign.
  4. Connect your ad platforms. If you run Google Ads, link GA4 to Google Ads and import those key events, or set up Google Ads conversion tracking through GTM. Running Meta ads? Install the Meta Pixel.
  5. Add server-side later if browser blocking is costing you meaningful data.

What to do next

This guide is the foundation. Here’s where to go from here:

For campaign-level credit, start with the UTM parameters guide. A detailed guide on attribution models is on the way.

Frequently asked questions

What is conversion tracking?
Conversion tracking is the practice of measuring the valuable actions people take on your site, like purchases, sign-ups, or form submissions, and tying them back to the marketing that drove them. It tells you which channels, campaigns, and ads actually produce results, not only clicks.
How does a conversion pixel work?
A pixel (also called a tag) is a small piece of code on your site. When a visitor completes an action, such as reaching a thank-you page, the pixel fires and sends a message to the platform (Google Ads, Meta, GA4) saying the conversion happened. The platform then credits it to the ad or campaign the person came from.
Are third-party cookies going away?
Not in Chrome. Google dropped its plan to remove third-party cookies from Chrome in 2024. But Safari and Firefox already block them by default, and many users choose to block tracking, so relying on third-party cookies is unreliable. That's why conversion tracking has shifted toward first-party data and server-side tracking.
What is server-side conversion tracking?
Server-side tracking sends conversion data from your own server to the ad platform, instead of relying only on the visitor's browser. Because it isn't blocked by browser cookie restrictions or ad blockers the same way, it captures conversions more completely. Meta's version is called the Conversions API (CAPI); Google offers server-side tagging.
What's the difference between a conversion and attribution?
A conversion is the action itself (a purchase, a lead). Attribution is how credit for that conversion gets assigned across the touchpoints that led to it. Two platforms can count the same conversion but attribute it differently, which is why GA4 and Google Ads numbers rarely match exactly.

Keep learning