How to Set Up Conversion Tracking for Google Ads and Meta Ads (Without Breaking Everything)
Why This Is the First Thing You Should Set Up
Every other optimisation in paid advertising depends on conversion tracking. Bidding strategies need conversion data to work. Campaign structure decisions need conversion data to validate. Ad copy tests need conversion data to determine winners. Budget allocation needs conversion data to justify.
Without tracking, you’re making decisions based on clicks and impressions — metrics that tell you people saw your ads and some of them clicked, but nothing about whether those clicks turned into customers, leads, or revenue. You might be spending 80% of your budget on keywords that generate clicks but zero conversions, and you’d never know.
We audit accounts regularly where businesses have spent £10,000–50,000 without proper conversion tracking. They can tell you their cost per click but not their cost per lead. They know their click-through rate but not their conversion rate. They’re driving a car without a speedometer or fuel gauge and hoping they arrive somewhere useful.
Set up tracking before you spend your first pound on ads. Not after. Not ‘when you get round to it’. Before.
Google Ads Conversion Tracking
There are two main approaches to tracking conversions in Google Ads. The recommended approach for most businesses is Option 1.
Option 1: GA4 + Google Ads (recommended)
This approach uses Google Analytics 4 (GA4) as the tracking foundation and imports conversion data from GA4 into Google Ads. It’s the most flexible approach and gives you rich data across both platforms.
Step 1: Install the Google tag on your website
The Google tag (gtag.js) is a snippet of JavaScript that goes on every page of your website. If you’re using Google Tag Manager (GTM), you can deploy it through a tag instead. If you’re on Shopify, use the built-in Google channel integration. For WordPress, use a plugin like Site Kit by Google or insert the tag in your theme’s header.
The tag collects data about page views, user behaviour, and events on your site and sends it to GA4.
Step 2: Set up key events in GA4
In GA4, ‘key events’ (formerly called conversions) are the actions that matter to your business. Common key events include:
- purchase — for e-commerce transactions
- generate_lead — for contact form submissions
- sign_up — for account registrations
- begin_checkout — for checkout initiations
- add_to_cart — for cart additions
- phone_call — for click-to-call actions
For lead generation businesses, the most common setup is tracking form submissions. You can do this by creating an event that fires when a user reaches a thank-you page (destination-based) or when they click the submit button (event-based). Destination-based tracking is more reliable — if the thank-you page loads, you know the form was actually submitted.
To set this up in GA4: go to Admin > Events > Create event. Create a new event where the event name is generate_lead and the condition is page_location contains /thank-you (or whatever your confirmation page URL is). Then go to Admin > Key events and mark generate_lead as a key event.
Step 3: Link GA4 to Google Ads
In GA4, go to Admin > Product links > Google Ads links. Click ‘Link’ and select your Google Ads account. Enable personalised advertising and auto-tagging. This connection allows data to flow between GA4 and Google Ads in both directions.
Step 4: Import key events into Google Ads
In Google Ads, go to Goals > Conversions > Summary. Click the + button and select ‘Import’. Choose ‘Google Analytics 4 properties’ and select the key events you want to import. For most businesses, import your primary conversion action (purchase or generate_lead) and set it as a primary conversion. Secondary actions (add_to_cart, page_view) can be imported as secondary conversions for observation without affecting bidding.
Step 5: Configure conversion settings
For each imported conversion, configure:
- Count: ‘One’ for lead generation (one lead per click), ‘Every’ for e-commerce (every purchase counts).
- Click-through conversion window: 30 days is standard. For high-consideration purchases, extend to 60 or 90 days.
- View-through conversion window: 1 day for most businesses. This tracks people who saw your ad but didn’t click, then converted later.
- Attribution model: Data-driven attribution is Google’s default and recommended choice. It uses machine learning to distribute credit across all touchpoints.
Option 2: Google Ads tag (direct)
If you don’t use GA4 or want simpler setup, you can track conversions directly in Google Ads. Go to Goals > Conversions > Summary > New conversion action > Website. Enter your URL and Google will scan your site. You can then set up conversion tracking based on page loads (thank-you pages), clicks (button clicks), or custom events.
This approach is simpler but gives you less data than the GA4 method. You won’t see user behaviour between the click and the conversion, making it harder to diagnose why people aren’t converting. For most businesses, Option 1 is worth the extra setup time.
Testing Google Ads tracking
Before spending money on ads, verify your tracking works:
- Use the Google Tag Assistant. Install the Chrome extension and visit your website. It will show you whether the Google tag is firing correctly and what data it’s sending.
- Submit a test conversion. Fill in your own contact form or complete a test purchase. Check GA4 real-time reports to see if the event appears. Then check Google Ads conversion tracking status (it can take up to 24 hours to register).
- Check the conversion status in Google Ads. Go to Goals > Conversions > Summary. Each conversion action shows a status: ‘Recording conversions’ means it’s working. ‘No recent conversions’ or ‘Unverified’ means something is wrong.
- Use GA4 DebugView. In GA4, go to Admin > DebugView. Enable debug mode in your browser (via the Google Analytics Debugger extension) and walk through the conversion flow. You’ll see every event fire in real time.
Meta Ads Conversion Tracking
The Meta pixel
The Meta pixel is a piece of JavaScript that goes on every page of your website. It tracks who visits your site, what pages they view, and what actions they take. It’s essential for conversion tracking, audience building, and retargeting on Facebook and Instagram.
Step 1: Create the pixel
In Meta Events Manager (business.facebook.com/events_manager), click ‘Connect data sources’ and select ‘Web’. Choose ‘Meta pixel’ and give it a name. Meta generates your pixel code.
Step 2: Install the pixel on your website
You have several options:
- Google Tag Manager: Add a Custom HTML tag with the pixel base code. Set it to fire on all pages. This is the cleanest option for most websites.
- Direct installation: Paste the pixel code into the
<head>section of every page. Most CMS platforms have a field for header scripts. - Platform integration: Shopify, WooCommerce, WordPress (via plugins), and most major platforms have native Meta pixel integrations. Use these when available — they handle event tracking automatically.
Step 3: Set up standard events
Meta has predefined ‘standard events’ for common conversion actions. Use these instead of custom events whenever possible — Meta’s algorithm is optimised to understand them. The most important standard events are:
Purchase— Transaction completed (include value and currency)Lead— Form submission or sign-upCompleteRegistration— Account creation completedAddToCart— Product added to basketInitiateCheckout— Checkout process startedViewContent— Key page viewed (product page, pricing page)Contact— Contact attempt (phone, email, chat)Schedule— Appointment or booking madeSubmitApplication— Application form submitted
For e-commerce on Shopify, the native integration handles Purchase, AddToCart, InitiateCheckout, and ViewContent automatically. For WooCommerce, plugins like PixelYourSite handle the same. For custom websites, you’ll need to add event code to the relevant pages or actions.
Step 4: Test with the Meta Pixel Helper
Install the Meta Pixel Helper Chrome extension. Visit your website and walk through the conversion flow. The extension shows which pixel events are firing on each page, what data they’re sending, and whether there are any errors. Fix any issues before launching ads.
The Conversions API (CAPI)
The pixel tracks events in the browser. The Conversions API (CAPI) sends event data directly from your server to Meta. This is important because browser-based tracking is increasingly unreliable — ad blockers, iOS privacy restrictions, and cookie consent all reduce what the pixel can see.
CAPI sends the same events as the pixel but from a more reliable source. Think of it as a backup channel that fills in the gaps the pixel misses. In practice, CAPI typically captures 15–30% more conversion data than the pixel alone.
Setting up CAPI depends on your platform:
- Shopify: Enable the Meta channel and it configures CAPI automatically. This is the easiest implementation.
- WooCommerce: Plugins like PixelYourSite Pro or the official Facebook for WooCommerce plugin support CAPI.
- Google Tag Manager (server-side): Set up server-side GTM and configure Meta CAPI tags. This is the most flexible approach but requires technical knowledge.
- Custom integration: Send events directly from your server using Meta’s Marketing API. Requires development resources.
Event deduplication
If you’re running both the pixel and CAPI (which you should), you’ll send duplicate events — the same conversion tracked once by the browser and once by the server. Meta handles deduplication automatically if you send matching event IDs from both sources.
When setting up both the pixel and CAPI, include an event_id parameter with a unique identifier (like a transaction ID or a randomly generated UUID) in both the pixel event and the CAPI event. Meta matches them and counts the conversion only once. Without this, your conversion data will be inflated.
Aggregated Event Measurement (AEM)
Apple’s iOS 14+ privacy changes limited Meta’s ability to track conversions from iOS users. Aggregated Event Measurement is Meta’s response. It allows limited conversion tracking for iOS users but with restrictions:
- You can only track up to 8 conversion events per domain
- Events are ranked by priority — if a user takes multiple actions, only the highest-priority one is reported
- Data is delayed (up to 72 hours) and may be modelled rather than directly observed
To configure AEM: go to Events Manager > Data sources > your pixel > Aggregated Event Measurement. Prioritise your 8 events with the most important at the top. For most businesses: Purchase, Lead, InitiateCheckout, AddToCart, ViewContent, Contact, Schedule, and PageView in that order.
Domain verification
Meta requires you to verify domain ownership to use Aggregated Event Measurement. This prevents other parties from configuring events on your domain.
To verify: go to Business Settings > Brand safety > Domains. Add your domain and verify using one of three methods: adding a DNS TXT record, uploading an HTML file to your root directory, or adding a meta tag to your homepage. DNS verification is the most reliable option.
Common Tracking Mistakes
Tracking the wrong page
The most common mistake we see: tracking a form page instead of the confirmation page. If you track when someone lands on your contact form, you’re counting everyone who considers reaching out, not everyone who actually does. Track the thank-you page or the form submission event, not the form page view.
Similarly, for e-commerce, track the order confirmation page, not the checkout page. Plenty of people start checkout and don’t finish. Those aren’t conversions.
Not filtering internal traffic
If you or your team visit your website regularly (and you should), your visits and test conversions can inflate your data. In GA4, go to Admin > Data streams > your stream > Configure tag settings > Define internal traffic. Add your office IP addresses. Then go to Admin > Data filters and create a filter to exclude internal traffic.
For Meta, there’s no built-in internal traffic filter. The best approach is to exclude your own IP addresses from ad targeting, or use the ‘Test events’ tool in Events Manager to identify and ignore test data.
Mismatched conversion actions
Google Ads distinguishes between primary and secondary conversion actions. Only primary conversions are used for bidding optimisation. If you import a micro-conversion (like page view or time on site) as a primary conversion, Google’s smart bidding will optimise for that instead of actual leads or sales.
Review your conversion actions: go to Goals > Conversions > Summary in Google Ads. Make sure only your actual business outcomes (purchases, qualified leads) are set as primary. Everything else should be secondary or observation-only.
Not testing after site changes
Website redesigns, CMS updates, new page templates, plugin updates, and form changes can all break tracking. Every time your website changes, test your conversion tracking again. Load the thank-you page, check that events fire, verify data appears in GA4 and your ad platforms.
This is particularly important with Shopify theme changes, WordPress plugin updates, and any checkout flow modifications. Set a calendar reminder to test tracking monthly, even if you haven’t made intentional changes — automatic updates can silently break things.
Delayed setup
Every day you run ads without tracking is a day of wasted data. Smart bidding algorithms need historical conversion data to learn. Starting ads before tracking is set up means you’re paying for data you can’t use — and you’ll need to re-learn once tracking is in place.
Set up tracking first. Verify it works. Then launch ads. This order isn’t negotiable.
The Verification Checklist
Before launching any paid campaigns, run through this checklist. Every item should be confirmed:
- Google tag / GA4 installed on every page of the website
- Key events created in GA4 for primary conversion actions
- GA4 linked to Google Ads account
- Key events imported into Google Ads as conversion actions
- Primary vs secondary conversions correctly configured in Google Ads
- Conversion count set to ‘One’ for leads, ‘Every’ for purchases
- Test conversion submitted and verified in GA4 real-time reports
- Test conversion appearing in Google Ads conversion tracking status
- Meta pixel installed on every page of the website
- Standard events configured for key conversion actions
- Meta Pixel Helper showing correct events on each page
- Conversions API set up and sending events (for Meta)
- Event deduplication configured with matching event IDs
- Domain verified in Meta Business Settings
- Aggregated Event Measurement configured with prioritised events
- Internal traffic filtered in GA4
- Test purchase or test lead submitted and verified across all platforms
- Conversion values set correctly for e-commerce transactions
- Attribution windows configured appropriately for your sales cycle
- Google Ads auto-tagging enabled
If any item on this list is missing, fix it before you launch. Every pound spent without complete tracking is a pound spent without accountability. The 2–4 hours it takes to set this up properly will save you thousands in wasted spend and give you the data foundation that every other optimisation builds on.