Chykalophia Docs

Tracking ad conversions properly (GA4, pixels, consent)

How to set up conversion tracking for Google and Meta ads so you know what your ad spend actually produces, while respecting cookie consent rules.

Time
10 minutes
Difficulty
Intermediate
Last updated
Updated

If you can't see which ads lead to sales or enquiries, you can't tell good spending from bad. Worse, Google and Meta use your conversion data to decide whom to show ads to. Without it, they optimize for clicks, which isn't what you want.

This guide explains the pieces of conversion tracking, how they fit together, and how consent rules affect them.

Step one: decide what counts

A conversion is an action that has value to your business. Pick a short list:

  • Primary conversions you'd pay for: a purchase, a booked call, a submitted quote request, a phone call from the website.
  • Secondary signals that show interest: newsletter sign-ups, adding to cart, downloading a guide.

Tell ad platforms to optimize for primary conversions where you have enough of them. Use secondary ones to learn, or as a stepping stone if primary conversions are rare. See conversions & goals explained.

The pieces and how they connect

PieceWhat it does
GA4Your neutral record of what visitors do on your site, from every source
Google tag / Google Ads conversion trackingTells Google Ads which clicks led to conversions
Meta PixelCode in the browser that tells Meta what visitors do after seeing or clicking an ad
Meta Conversions APISends the same events from your server to Meta, so fewer are lost to ad blockers and browser restrictions
Google Tag ManagerA container for managing all of the above without editing site code each time
Consent banner (CMP)Records whether each visitor agreed to tracking, and tells the tags what they may do

Setting up Google Ads conversions

You have two main options:

Import key events from GA4. Link GA4 and Google Ads, mark the events you care about as key events in GA4, then import them into Google Ads. Simple, and keeps one definition of each conversion.

Or use Google Ads' own conversion tracking through the Google tag. This can be more precise for Ads reporting, and supports features such as enhanced conversions, which use hashed customer data (like email address) from your forms to improve matching.

Pick one as the primary source for each conversion so you don't count it twice. Also make sure auto-tagging is on in Google Ads, so GA4 can attribute visits to the right campaign.

Phone calls matter for many service businesses. Google Ads can track calls from ads and from your website using call tracking. If most of your leads phone you, set this up or you'll undercount results badly.

Setting up Meta conversions

Install the Meta Pixel, ideally through your platform's official integration (Shopify, WooCommerce, Squarespace and others have them) or via Google Tag Manager.

Add the Conversions API. Official integrations often include it. It sends events server-side, so Meta still learns about conversions when browser tracking is blocked.

Deduplicate events. When both the Pixel and the Conversions API send the same purchase, they need a shared event ID so Meta counts it once. Official integrations handle this; custom setups need checking.

Verify your domain in Meta Business settings and check events in Events Manager's test tool.

Privacy laws and browser changes have reshaped ad tracking. The key points:

  • EU, UK and similar regions. You generally need consent before setting non-essential cookies, including advertising pixels. A proper consent banner blocks tags until the visitor agrees. See cookie consent law.
  • Google Consent Mode. Consent Mode passes each visitor's consent choices to Google's tags, which then adjust what they collect. Since March 2024, Google has required advertisers to use Consent Mode (version 2) to keep using its measurement, ad personalization and remarketing features for users in the European Economic Area. Most consent banner tools support it.
  • United States. Rules vary by state. California and a growing number of other states give people the right to opt out of the "sale" or "sharing" of personal information, which can include ad tracking. See CCPA basics.
  • Apple and browsers. Apple's App Tracking Transparency, Safari's tracking prevention and ad blockers all reduce what browser-based pixels can see. Server-side tracking (like the Conversions API and enhanced conversions) helps recover some of it, but it doesn't replace consent.

Sensitive industries

If you're in healthcare or handle health-related information, ad pixels on your site can create real legal risk. US regulators have taken action against companies that shared health information with ad platforms through tracking code. Get advice before adding pixels to any page involving health, and see HIPAA basics for websites.

Why the numbers never match

Google Ads, Meta and GA4 will each report different conversion counts. That's normal. They differ in:

  • Attribution window: how long after a click or view they still claim credit.
  • View-through credit: Meta may count a sale from someone who saw but didn't click an ad.
  • Attribution model: GA4 shares credit across channels; each ad platform tends to claim the full conversion.
  • Consent and blocking: each tool loses different data.

Pick one source, usually GA4 or your store or CRM records, to compare channels. Use each platform's own numbers to optimize within that platform.

Check your setup

  • Submit a test form and make a test purchase, then check they appear in GA4's real-time report, Google Ads and Meta Events Manager.
  • Make sure thank-you pages can't be reached without converting, or tracking will overcount.
  • Tag email and social links with UTM parameters so GA4 sorts them correctly. See UTM links.
  • Re-test after any site redesign, checkout change or new plugin.

Frequently asked questions

Do I need Google Tag Manager?

Not strictly, but it makes managing several tags much easier and safer. See what is Google Tag Manager?

My store platform says it handles tracking. Is that enough?

Official integrations cover the basics well. Check which events they send, whether consent is respected, and that conversions aren't being counted twice by a second, manually added tag.

Learn more

Go deeper on chykalophia.com

Need a hand?

Stuck? We'll help.

Email us with your website address and a screenshot if you can, and we’ll take it from there.

Last updated

On this page

0% read

Need a hand?Email supportBack to top