What Conversion Tracking Is

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
| Type | Examples | Value to record |
|---|---|---|
| Primary | Purchase, paid sign-up, qualified lead, booked call | Actual order value, or an estimated lead value |
| Secondary | Opt-in, add to cart, checkout started | Often none, or a small estimate |
| Offline | Phone sale, in-person sale, closed deal in a CRM | The 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
| Method | How it works | Reliability |
|---|---|---|
| Thank-you page code | A script or pixel fires when the confirmation page loads | Good, but blocked by some browsers |
| Platform integration or webhook | Your store or checkout reports each sale directly | High; includes upsells and refunds |
| On-page events | Code records button clicks, form submits or video plays | Good for secondary conversions |
| Server-side events | Your server sends conversions to platforms' APIs | High; resists blockers |
| Offline upload or form | Sales entered later are matched to the original click | Depends 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.
Google Ads
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 FreeStep 4: Test Everything
- Click a tagged link or ad previewSo the visit carries campaign details.
- Complete a test conversionUse test mode or a low-priced product where possible.
- Check each toolThe conversion should appear once, with the right value and source.
- Check upsells and refundsMake sure they're reported if they matter to your revenue.
- Re-test after changesTheme updates, new checkouts and plugin changes often break tracking.
Common Mistakes

- 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.