Conversion Tracking Guide - Measure the Actions That Make You Money (2026)

What Conversion Tracking Is

Laptop next to a desktop computer and mouse

Conversion tracking records the actions that matter to your business, such as a purchase, an opt-in or a booked call, and connects them to the marketing that produced them. Without it, you can see clicks and visits but not results.

Good conversion tracking does three things: it records every conversion once, it captures the value, and it ties each conversion back to the right ad, email or link.

Step 1: Decide What to Track

Choosing your conversions
TypeExamplesValue to record
PrimaryPurchase, paid sign-up, qualified lead, booked callActual order value, or an estimated lead value
SecondaryOpt-in, add to cart, checkout startedOften none, or a small estimate
OfflinePhone sale, in-person sale, closed deal in a CRMThe real sale value

Keep the list short. Track a few conversions well rather than dozens badly, and let ad platforms optimize toward your primary conversion where you have enough volume.

Step 2: Choose How Conversions Are Recorded

Ways to record conversions
MethodHow it worksReliability
Thank-you page codeA script or pixel fires when the confirmation page loadsGood, but blocked by some browsers
Platform integration or webhookYour store or checkout reports each sale directlyHigh; includes upsells and refunds
On-page eventsCode records button clicks, form submits or video playsGood for secondary conversions
Server-side eventsYour server sends conversions to platforms' APIsHigh; resists blockers
Offline upload or formSales entered later are matched to the original clickDepends on data quality

Where your checkout offers a direct integration, use it. It's usually more accurate than code on a page. See our server-side tracking guide.

Step 3: Set Up Each Platform

Meta Ads

Install the Meta pixel, add the Conversions API through your platform's integration or a tracking tool, configure standard events such as Purchase and Lead, and verify your domain. See our Conversions API guide.

Create conversion actions in Google Ads, set values and conversion windows, and install the Google tag or import conversions from GA4. Make sure auto-tagging is on.

Google Analytics 4

Mark your important events as key events and make sure purchase events carry value and currency.

An Independent Tracker

Add one tracker, such as ClickMagick, that records conversions across every channel with one set of rules. It becomes your source of truth for budget decisions, and can send conversions back to the ad platforms.

Try ClickMagick Free

Step 4: Test Everything

  1. Click a tagged link or ad previewSo the visit carries campaign details.
  2. Complete a test conversionUse test mode or a low-priced product where possible.
  3. Check each toolThe conversion should appear once, with the right value and source.
  4. Check upsells and refundsMake sure they're reported if they matter to your revenue.
  5. Re-test after changesTheme updates, new checkouts and plugin changes often break tracking.

Common Mistakes

Wrenches in a toolbox
  • Code on the landing page but not the confirmation page.
  • Duplicate tracking from a plugin, a theme and a tag manager at once.
  • Missing values, which makes ROAS impossible to calculate.
  • Optimizing on the wrong event, such as page views instead of purchases.
  • Ignoring phone and offline sales, which under-credits the ads that started them. See offline conversion tracking.

When Numbers Don't Match

Expect your tools to disagree a little. Ad platforms use their own attribution windows and can't see every sale; analytics tools can be blocked; independent trackers use their own models. Compare all of them with your actual orders, and if one is far off, check its setup first. Our Facebook troubleshooting guide covers the most common gaps.

Frequently Asked Questions

What is conversion tracking?

Conversion tracking records valuable actions people take after clicking your marketing, such as purchases, sign-ups or booked calls, and connects them to the ads, emails or links that brought those people in.

What counts as a conversion?

Anything valuable to your business. Purchases and qualified leads are primary conversions. Smaller steps such as adding to cart or watching a video are secondary, or micro, conversions that indicate interest.

Where should conversion tracking code go?

Traditionally on the page people see after converting, such as a thank-you or order confirmation page. Many platforms now report sales through direct integrations or webhooks, which are more reliable than page code.

How do I test conversion tracking?

Click a tagged ad or link, complete a real or test conversion, and check that it appears once, with the right value, in every tool you use. Repeat after any change to your site or checkout.

Why do my conversion numbers differ between tools?

Each tool uses different tracking methods, attribution windows and rules, and some lose data to ad blockers or privacy settings. Small differences are normal. Use one consistent source for decisions.