Stage 4Get Customers

Set Up Conversion Tracking for Paid Ads (Google & Meta)

10 min read
confident
do
Share:

Install and verify the essential tracking pixels for your paid campaigns. Get measurable results and stop wasting ad spend in 45 minutes.


Running paid ads without conversion tracking is like driving with your eyes closed. You're spending money, moving forward, but you have absolutely no idea if you're heading toward success or straight into a wall.

Every pound you spend on Google Ads or Meta Ads should be measurable. Without proper tracking, you can't tell which ads work, which keywords convert, or whether your campaign is profitable or haemorrhaging cash. You're making decisions based on guesswork rather than data.

This isn't optional. If you're serious about launching low-cost Google Ads or starting with Meta Ads, conversion tracking is the foundation that makes everything else possible. The tracking setup is also essential for running retargeting campaigns that actually convert.

This guide walks you through installing the two essential tracking systems: the Google Tag (for Google Ads, YouTube, and Performance Max campaigns) and the Meta Pixel (for Facebook and Instagram ads). You'll install the base code, configure your first conversion event, and verify everything works correctly.

Quick Navigation:


Quick Start: Install Your Base Tags (5 Minutes)

This builds on setting up your preliminary campaign structure from the previous step. Now you're installing the infrastructure that makes those campaigns measurable.

Five essential steps:

1. Generate your Google Tag code

Log into Google Ads → Tools & Settings → Measurement → Conversions → New Conversion Action. Copy the global site tag (gtag.js) snippet or your Google Tag Manager container code.

2. Locate your Meta Pixel base code

Open Meta Events Manager → Data Sources → Your Pixel → Settings → Install Code Manually. Copy the base pixel code snippet.

3. Install both snippets in your website header

Paste both code snippets into your website's `<head>` section, just before the closing `</head>` tag. If you use WordPress, Wix, or Squarespace, there's usually a dedicated "Header Scripts" or "Custom Code" section in your site settings.

4. Verify codes are loading

Install the Google Tag Assistant Chrome extension and the Meta Pixel Helper Chrome extension. Visit your website and check both extensions show green confirmation that tags are detected and firing.

5. Move to the Full Guide for event setup

The base codes are now installed site-wide. Continue below to configure specific conversion events (leads, purchases, sign-ups) that you'll actually measure.

✅ Completed the quick version? Move on to Track Where Your Leads Come From or continue below for the detailed walkthrough of event creation.


Complete Step-by-Step Guide: Tag Installation and Event Creation

This section covers the full installation process for both platforms, including creating and verifying your first conversion event.

Step 1: Choose Your Installation Method

You have two main options for installing tracking codes:

Option A: Direct Website Access

If you have access to your website's header code (WordPress, Wix, Squarespace, custom site), you'll paste the tracking codes directly into your site's header section.

Option B: Google Tag Manager

If you use Google Tag Manager (GTM), you'll install one GTM container code on your site, then manage all tracking tags through the GTM interface. This is cleaner for managing multiple tracking codes but adds a layer of complexity.

For most micro-businesses starting out, Option A is simpler and perfectly adequate. You can always migrate to GTM later.

Step 2: Install the Google Tag (Base Code)

The Google Tag is the foundation for all Google advertising measurement—Google Ads, YouTube Ads, Performance Max, and more.

Where to find it:

  1. Log into your Google Ads account
  2. Click Tools & Settings (wrench icon)
  3. Under "Measurement," click Conversions
  4. Click the blue + New conversion action button
  5. Select Website as the conversion source
  6. Choose your conversion category (Lead, Purchase, Sign-up, etc.)
  7. On the "Tag setup" screen, select Install the tag yourself
  8. Copy the entire code snippet shown

Where to install it:

  • WordPress: Use a plugin like "Insert Headers and Footers" or add to your theme's `header.php` file
  • Wix: Settings → Custom Code → Add Code to Head
  • Squarespace: Settings → Advanced → Code Injection → Header
  • Custom site: Paste directly into your site's `<head>` section, before `</head>`

The code should appear on every page of your website. Don't install it only on your homepage or conversion pages—it needs to be site-wide.

If you're also setting up Google Analytics 4, note that Google Ads and GA4 can share the same base Google Tag. You don't need to install two separate snippets.

Step 3: Install the Meta Pixel (Base Code)

The Meta Pixel tracks activity across Facebook and Instagram ad campaigns.

Where to find it:

  1. Open Meta Events Manager
  2. Select your Pixel (or create a new one if this is your first time)
  3. Click Settings in the left menu
  4. Under "Install code manually," click Copy Code
  5. Copy the entire base pixel code snippet

Where to install it:

Use the exact same method as Step 2—paste the Meta Pixel code into your website's header section, right after the Google Tag code.

Both codes can coexist peacefully in your header. They won't interfere with each other.

NetNav Mention:

You've just installed the foundational code snippets. Verifying they are present on every page manually is tedious. This is one of the checks NetNav runs automatically across your whole site, ensuring the base tracking tags are universally deployed and firing correctly.

Step 4: Create a Conversion Action in Google Ads

Installing the base tag isn't enough—you need to tell Google Ads which specific actions count as conversions.

Back in Google Ads:

  1. Return to Tools & Settings → Conversions
  2. Continue from where you left off in Step 2
  3. Name your conversion (e.g., "Contact Form Submission" or "Purchase Completed")
  4. Set the Value: Either a specific amount (£50 per lead) or "Don't assign a value"
  5. Set the Count: "One" (count each conversion once) or "Every" (count every conversion)
  6. Set the Conversion window: 30 days is standard for most micro-businesses
  7. Click Create and Continue

Configure the trigger:

This is where you tell Google when to count a conversion.

The most common trigger is a specific page URL—typically your "Thank You" page that appears after someone completes your desired action.

Example:

  • Conversion goal: Contact form submission
  • Trigger: When someone lands on `yoursite.com/thank-you`
  • Setup: Set the trigger to fire when the URL contains `/thank-you`

If you're using dedicated landing pages, make sure each has a unique Thank You page URL that you can track.

Step 5: Create a Standard Event in Meta Events Manager

Meta uses "Events" instead of "Conversion Actions," but the concept is identical.

In Meta Events Manager:

  1. Click Data Sources → Select your Pixel
  2. Click Add EventsFrom the Pixel
  3. Choose Add Event Using Code
  4. Select a Standard Event from the dropdown:
  5. Lead (for form submissions, quote requests)
  6. Purchase (for completed transactions)
  7. CompleteRegistration (for sign-ups)
  8. Contact (for phone calls or contact button clicks)

Add the event code:

Meta will show you a small code snippet to add to your conversion page. This goes on the Thank You page only, not site-wide.

Example for a Lead event:

javascript

fbq('track', 'Lead');

Paste this snippet just before the closing `</body>` tag on your Thank You page.

Step 6: Configure the Event Trigger

Both platforms need to know exactly when to fire your conversion event.

The most reliable method: URL-based triggers

When someone completes your desired action (fills in a form, makes a purchase), they should land on a specific confirmation page. That page URL becomes your trigger.

Best practices:

  • Use a unique URL for each conversion type (`/thank-you-contact`, `/thank-you-purchase`)
  • Make sure the Thank You page is only accessible after the conversion action
  • Don't use your homepage or a page people can navigate to directly
  • Test the full user journey: complete the action yourself and confirm you land on the Thank You page

If you're tracking button clicks instead of page views, you'll need to add event tracking code to the button itself. This is more complex and prone to breaking—URL-based tracking is more reliable for beginners.

Make sure your conversion goal is clear before setting up tracking. Vague goals create vague tracking.

Step 7: Verify Everything Works

Don't assume your tracking works—test it.

For Google Ads:

  1. Install the Google Tag Assistant Chrome extension
  2. Visit your website
  3. Click the extension icon—you should see your Google Tag ID listed with a green tick
  4. Complete your conversion action (fill in your form, make a test purchase)
  5. Land on your Thank You page
  6. Check Tag Assistant again—you should see your conversion event fire
  7. Within 24 hours, check Google Ads → Tools & Settings → Conversions to see the test conversion recorded

For Meta Pixel:

  1. Install the Meta Pixel Helper Chrome extension
  2. Visit your website
  3. Click the extension icon—you should see your Pixel ID with "PageView" event
  4. Complete your conversion action
  5. Land on your Thank You page
  6. Check Pixel Helper again—you should see your custom event (Lead, Purchase, etc.) fire
  7. Within a few minutes, check Meta Events Manager → Test Events to see the event recorded

Common verification mistakes:

  • Testing while logged into your own ad accounts (can skew data—use Incognito mode)
  • Not clearing browser cache before testing
  • Checking for results immediately (some platforms take hours to show test data)
  • Testing on mobile without the browser extensions (test on desktop first)

🎉 Tracking verified? This infrastructure is essential for profitability. You're ready for Track Where Your Leads Come From.


Troubleshooting

Still stuck? Check that:

  • Your website doesn't have conflicting tracking codes from previous attempts
  • You have the correct permissions in Google Ads and Meta Business Manager
  • Your website's privacy settings or cookie consent banner isn't blocking the tags
  • You're testing with a browser that allows third-party cookies

What's Next

Immediate next step:

Track Where Your Leads Come From — Now that tracking is installed, implement a simple system (like UTMs or a tracking spreadsheet) to attribute conversions accurately and verify your new tracking is working in real-time.

Go Deeper:


Other Get Customers Guides


You've completed setting up mission-critical tracking for your ads. You've earned the right to run traffic. Before you hit 'Launch,' NetNav can audit your entire site across 9 pillars in 60 seconds—see what other foundational elements, beyond tracking, still need attention.

Start Your Free NetNav Audit →