InspectMyAds

Install guides · WordPress

How to install Google Ads conversion tracking on WordPress

Last updated

What conversion tracking actually is

Conversion tracking is a small piece of code — called a “tag” — that you paste into your website. When someone clicks your Google ad and then does something valuable on your site (calls you, fills out a contact form, buys something), that tag sends a quiet signal back to Google Ads saying “this click turned into a customer.” Think of it like a receipt printer: every time a real result happens, it prints a receipt and sends it to Google so Google knows the ad worked.

Why it matters

Without this tag in place, Google Ads is flying blind. It can see that people clicked your ad, but it has no idea which clicks actually turned into phone calls or form submissions. That means Google’s smart bidding — the part of the system that automatically tries to get you more customers for less money — has nothing to learn from. Your remarketing lists (the audiences made up of people who visited but didn’t contact you) won’t build correctly either. The numbers in your dashboard will look fine but they’ll be missing the most important column: did this click make you money. You’ll end up paying for clicks that never convert, and you won’t know it.

What you’ll need

  • A Google Ads account (free to create at ads.google.com — you don’t need to be running ads yet)
  • Your Conversion ID — this is the “AW-XXXXXXX” number Google Ads assigns when you set up a conversion action; it identifies your account
  • Your Conversion Label — a short string of letters and numbers that sits alongside the Conversion ID and identifies the specific action you’re tracking (like a form fill vs. a phone call)
  • Admin login access to your WordPress dashboard (you need to be able to install plugins and edit theme settings)
  • A few minutes and a desktop or laptop computer — this is harder to do on a phone

Step-by-step install

The cleanest way to install Google Ads conversion tracking on WordPress is through Google Tag Manager (GTM — a free tool from Google that acts as a container for all your tracking tags, so you only paste one piece of code into WordPress instead of many). These steps cover that method, which works on almost every WordPress site and survives theme updates.

  1. Go to tagmanager.google.com and sign in with the same Google account you use for Google Ads. Click Create Account, give it your business name, select your country, enter your website URL, choose Web as the platform, and click Create.

  2. Google Tag Manager will show you a panel titled Install Google Tag Manager with two code snippets. Leave this window open — you’ll come back to it in a moment.

  3. In a new browser tab, log in to your WordPress dashboard. In the left sidebar, go to Plugins → Add New Plugin.

  4. In the search box at the top right of the plugin screen, type Insert Headers and Footers. Look for the plugin by WPCode (it will show the WPCode logo and say “Insert Headers and Footers, Scripts, or Ads”). Click Install Now, then click Activate.

  5. After activation, go to Code Snippets → Headers & Footers in the left sidebar. You’ll land on a page with two large text boxes labeled Header and Footer.

  6. Go back to the Tag Manager tab. Copy the first code snippet (the one that says it goes in the <head> section — it starts with <!-- Google Tag Manager -->). Paste it into the Header box in WPCode.

  7. Copy the second Tag Manager snippet (the one that says it goes immediately after the opening <body> tag — it starts with <!-- Google Tag Manager (noscript) -->). Paste it into the Footer box in WPCode. Click Save Changes.

  8. Back in Google Tag Manager, click OK to close the install panel. You’ll land on your workspace. Click Tags in the left sidebar, then click New in the top right corner.

  9. A panel slides in from the right. Click the Tag Configuration box (it has a pencil icon). From the list that appears, choose Google Ads Conversion Tracking.

  10. You’ll see fields for Conversion ID and Conversion Label. Enter your AW-XXXXXXX number in the Conversion ID field and your alphanumeric label in the Conversion Label field. Leave the other fields at their defaults for now.

  11. Click the Triggering box below the tag configuration. From the trigger list, choose All Pages if you want to fire the base tag on every page, or click the + button to create a new trigger that fires only on your thank-you page or confirmation page (recommended for form-fill tracking).

  12. Give your tag a name at the top of the panel — something like Google Ads - Conversion Tracking — so you can find it later. Click Save.

  13. In the top right corner of Tag Manager, click Submit. You’ll see a screen titled Submit Changes. Add a short version note like Initial Google Ads tag, then click Publish.

  14. Your tag is now live on your WordPress site. The GTM container code you pasted in step 6 and 7 will load the conversion tag automatically on every page visit going forward.

How to test that it’s actually working

After publishing, visit your own website as if you were a customer — click through a page, fill out your contact form, or reach your thank-you page. Then check whether the tag fired correctly using one of the two methods below.

  1. Install the free Chrome extension called Tag Assistant Legacy (search “Tag Assistant by Google” in the Chrome Web Store). Once installed, click its icon while on your site. It will show a list of tags it detected. A green icon next to your Google Ads tag means it’s firing correctly. A red or yellow icon means something is wrong and it will tell you what.

  2. If you prefer not to install an extension, open Chrome’s developer tools by pressing F12 (or right-clicking anywhere on the page and choosing Inspect). Click the Network tab at the top of the developer tools panel. Reload the page, then type googleadservices in the filter box. If you see a request to googleadservices.com/pagead/conversion/ appear in the list, the tag is firing. If nothing shows up, the tag is not loading.

  3. In your Google Ads account, go to Goals → Conversions → Summary. Find your conversion action in the list. The Status column should change from “Unverified” to “Recording conversions” within 24 hours of a confirmed test fire.

  4. If the status stays “Unverified” after 24 hours, go back and confirm your GTM container was published (not just saved as a draft) and that the WPCode plugin saved both snippets correctly.

Common gotchas on this platform

  • Caching plugins eating the tag. Plugins like WP Rocket, W3 Total Cache, and LiteSpeed Cache serve a stored copy of your pages. If you installed the tag after the cache was built, visitors may get the old cached version without the tag. After any tag change, go into your caching plugin’s settings and click Clear All Cache (the exact label varies by plugin).

  • Theme updates removing header code. If you pasted the GTM snippet directly into your theme’s header.php file instead of using WPCode, a theme update will wipe it out. This is exactly why the WPCode plugin method in the steps above is safer — it stores the code separately from your theme.

  • Google Site Kit conflicts. If you have the Google Site Kit plugin installed and connected to Google Ads, it may already be injecting a tag. Having both Site Kit and a manual GTM install can cause the same conversion to be counted twice (called “double-counting”), which inflates your numbers. Check Site Kit → Settings → Connected Services to see what it’s already tracking before you add anything manually.

  • Classic Editor vs. Block Editor page builders. If you use Elementor, Divi, or another page builder, those tools sometimes have their own “custom code” fields at the page level. Code entered there fires only on that one page, not site-wide. Always use a site-wide method like WPCode or GTM.

  • Multisite installs. If your WordPress is set up as a network (multiple sites under one WordPress install), the WPCode plugin and GTM container only apply to the specific sub-site where you activated them. Make sure you’re in the right sub-site’s dashboard.

  • Plugin conflicts after WordPress core updates. WordPress updates occasionally break older plugins. After a major WordPress update, visit a page on your site and re-run Tag Assistant to confirm the tag is still firing.

What to do if your platform doesn’t allow this

Most WordPress sites can follow the steps above without any issues. The rare exception is a WordPress.com free or Starter plan — those plans do not allow custom code or third-party plugins, which means you cannot install GTM or any tracking tag at all. If you’re on WordPress.com, upgrading to the Business plan or higher unlocks plugin support and solves the problem. Alternatively, if you already have a way to add any custom code to the site (even through a page builder’s custom code field), Google Tag Manager can still work if you paste the container snippet there. If none of that is possible, the last-resort option is offline conversion uploads: you export a list of customers from your CRM or inbox, match them to Google click IDs, and upload a CSV file to Google Ads manually each week. It’s clunky, but it’s better than having no data at all.

Get a free audit when you start running ads

When you’re ready to run Google Ads — or if you’re already running them and want to know whether your tracking is actually set up correctly — InspectMyAds offers a free audit. Share your email with us, we’ll verify your conversion tracking is firing cleanly, and we’ll let you know what we find before you spend another dollar. Management fee only. Your Google Ads spend is billed directly by Google to your own card — we never touch your ad budget.

Free audit when you start

Get a free audit when you start running ads

Tracking installed? Good. When you’re ready to actually launch your first Google Ads campaign, drop your email and we’ll do a free audit on your account — conversion tracking verification, keyword sanity check, and the three things to fix first.

Management fee only. Your Google Ads spend is billed directly by Google to your own card — we never touch your ad budget.