Meta Pixel and Conversions API: How to Set Up Tracking Properly
How the Meta Pixel and Conversions API work together, which setup route suits your site, how deduplication works and how to check your tracking is right.
Read the guideA practical setup for Google Ads conversion tracking alongside GA4: which actions to track, native tags vs imported key events, enhanced conversions and how to test it.

Google Ads is only as smart as the conversions you give it. Smart bidding, Performance Max and every automated recommendation learn from the actions you mark as conversions. Track the wrong thing, or track the right thing twice, and Google will happily spend your budget finding more of the wrong people.
This guide walks through a clean setup for Google Ads conversion tracking alongside Google Analytics 4: what to track, which method to use for each action, and how to check it is working before you scale spend. It is part of our complete guide to performance marketing.
There are two main routes, and most accounts should use both for different jobs.
| Google Ads conversion tag | Imported GA4 key events | |
|---|---|---|
| How it works | The Google tag records the conversion directly for Google Ads | GA4 records the event, then you import it into Google Ads |
| Attribution | Google Ads attribution, including data driven | Follows your GA4 attribution settings |
| Enhanced conversions | Supported | Not the same capabilities |
| View through conversions | Supported | Not included |
| Suits | The actions you bid on | Comparison and a cross channel view |
A naming note that confuses many teams: in 2024 GA4 renamed its conversions to key events. Google Ads still uses the word conversions. A GA4 key event only becomes a Google Ads conversion once you import it.
Our usual setup is the Google Ads tag for the actions you want bidding to optimise for, with GA4 key events imported as secondary actions so you can compare numbers without confusing the bidding system.
Before touching any tags, list the actions that represent business value and give each a role.
| Action | Example | Role |
|---|---|---|
| Lead form submitted | Enquiry form, quote request | Primary |
| Phone call from an ad | Call from a call asset | Primary |
| Purchase | Completed order | Primary |
| WhatsApp click | Tap on a WhatsApp button | Secondary |
| Brochure download | PDF download | Secondary |
| Key page view | Pricing page | Secondary |
Keep the primary list short. If a brochure download counts the same as an enquiry, bidding will chase cheap downloads.

The same Google tag can serve GA4 and Google Ads. Install it once on every page, ideally through Google Tag Manager, and add the conversion linker so click information is stored correctly. Installing several overlapping tags from plugins and themes is a common cause of double counting.
In Google Ads, go to Goals, then Conversions, and create a conversion action for each primary action. Set these carefully:
Fire lead conversions on the real submit event or a thank you page, never when the form page loads.
Link your GA4 property to Google Ads from the GA4 admin area, and make sure auto tagging is switched on in Google Ads so each click carries its click ID. Without auto tagging, GA4 cannot reliably attribute visits to campaigns.
Import the GA4 key events you want to see in Google Ads, then set them as secondary. Primary actions are used for bidding and appear in the Conversions column; secondary actions appear under All conversions for reporting only. This gives you GA4's view of performance without the two systems competing to steer your bids.
If you compare the numbers, align the windows: GA4's attribution settings and the Google Ads click through window should match, or the totals will never agree.
Spending on ads but not getting leads?We review your Meta and Google Ads setup, tracking, audiences and landing pages, then show you where the budget is leaking.
Enhanced conversions send a hashed version of the email address or phone number the customer entered along with the conversion. Google uses it to match conversions it would otherwise miss because of cookie limits. Turn it on with the single enhanced conversions setting under Goals, then Settings, then Customer data use, and make sure your tag passes the email or phone number the customer entered.
For lead generation, the same setting goes further: when a lead later becomes a qualified opportunity or a sale in your CRM, you upload that outcome, and Google learns which clicks produce real business, not just forms.

| Mistake | Effect | Fix |
|---|---|---|
| Too many primary actions | Bidding chases cheap, low value actions | Keep only real business actions primary |
| Lead counted as Every | Duplicate submissions inflate leads | Use One for lead actions |
| GA4 import set as primary next to the native tag | The same lead counted twice in bidding | Set the import as secondary |
| Auto tagging off | GA4 cannot attribute paid visits | Switch auto tagging on |
| Tag fires on form page load | Every visitor counts as a conversion | Fire on submit or thank you page |
If you get traffic from the European Economic Area, Google requires consent mode with a consent banner for its measurement features to work for those users. For Indian audiences, prepare for the Digital Personal Data Protection Act, whose notice and consent duties take effect in May 2027: be clear about what you collect and why, and only use customer data you are allowed to use.
A recurring pattern in the accounts we audit is spend going into a platform with plenty of dashboard activity that never shows up as revenue. On one fashion brand's Meta account, correcting the account structure and conversion tracking came before any other change. See the fashion D2C case study. The same principle applies to Google Ads.
Run the Meta side with our guide to the Meta Pixel and Conversions API. Clean tracking is what makes Google Ads search campaigns and Performance Max work. If you also want organic visibility, our technical SEO checklist covers the site side.
Not sure your conversions are right? Request a free ad account audit and we will check every conversion action and tag. Or see our performance marketing services.
Use the Google Ads tag for the actions you bid on, because it supports Google Ads attribution, enhanced conversions and view through conversions. Import GA4 key events as secondary actions for comparison.
GA4 calls important actions key events. Google Ads calls the actions it optimises for conversions. A GA4 key event becomes a Google Ads conversion only when you import it into your Google Ads account.
They use different attribution models, windows and counting rules, and Google Ads can include view through conversions. Align the click through window and counting settings, and treat small differences as normal.
Enhanced conversions send a hashed email address or phone number with a conversion so Google can match it to signed in users. This recovers conversions that cookies miss and gives bidding more accurate data.
New conversion actions can take a few hours to start recording, and conversions are reported against the date of the ad click. Check again after a day before assuming tracking is broken.
Tell us where your brand needs to go. We'll come back with a free audit, a plan and a realistic timeline, usually within two working days.