Conversion Tracking Tag

A Conversion Tracking Tag is a piece of JavaScript code installed on specific pages of your website that fires when a user completes a conversion action (such as a purchase or form submission) after clicking a Google ad. It consists of the Google Tag base code on all pages and a conversion event snippet on the conversion confirmation page.

A Conversion Tracking Tag is a piece of JavaScript code installed on specific pages of your website that fires when a user completes a conversion action (such as a purchase or form submission) after clicking a Google ad. It consists of the Google Tag base code on all pages and a conversion event snippet on the conversion confirmation page.

Key Takeaways

  • Two-part code: base Google Tag on all pages + event snippet on conversion pages
  • Captures the GCLID from ad clicks and matches it to conversion events
  • Supports static and dynamic conversion values for revenue tracking
  • Can be installed directly in HTML, via Google Tag Manager, or through CMS plugins
  • Must fire exactly once per conversion to avoid double-counting

What Is a Conversion Tracking Tag

A Conversion Tracking Tag is the technical implementation of conversion tracking in Google Ads. It is the code that actually records when a valuable action occurs on your website and sends that data back to Google Ads for attribution.

ComponentPlacementFunction
Google Tag (gtag.js)Every page, in <head>Loads tracking library, captures GCLID, sets cookies
Event snippetConversion page onlyFires the conversion event with action ID, value, and currency
Optional: Enhanced ConversionsConversion pageSends hashed first-party data for better matching

How It Works

The conversion tracking tag operates in a sequence:

  1. User clicks an ad — Google appends a GCLID parameter to the landing page URL
  2. Google Tag captures the GCLID — The base tag on the landing page reads the GCLID and stores it in a first-party cookie
  3. User browses the site — The base tag on each page maintains the cookie
  4. User completes a conversion — On the confirmation/thank-you page, the event snippet fires
  5. Event snippet sends data — The conversion action ID, value, currency, and stored GCLID are transmitted to Google Ads
  6. Google Ads attributes the conversion — The GCLID links the conversion back to the specific click, campaign, keyword, and ad

Installation options:

  • Direct HTML — Paste the Google Tag in <head> and the event snippet on the conversion page
  • Google Tag Manager — Deploy both as GTM tags with appropriate triggers
  • CMS plugin — WordPress, Shopify, and other platforms offer native integration

Critical configuration details:

  • Conversion ID: Unique identifier for your Google Ads account
  • Conversion label: Identifier for the specific conversion action
  • Value: Static (e.g., $50 for every lead) or dynamic (pulled from transaction data)
  • Currency: Three-letter currency code (USD, EUR, GBP)
  • Transaction ID: Unique order/submission ID to prevent duplicate counting

Practical Example

An e-commerce site installs a conversion tracking tag for purchases:

  • Google Tag on all pages: Captures GCLID, sets _gcl_aw cookie
  • Event snippet on order confirmation page:
    • Conversion ID: AW-123456789
    • Conversion label: AbCd1234
    • Value: Dynamically pulled from order total ($127.50)
    • Currency: USD
    • Transaction ID: ORD-2026-04-5582

When a user clicks an ad for “wireless headphones” ($1.80 CPC) and purchases $127.50 in products, the tag reports:

  • 1 conversion attributed to the “wireless headphones” keyword
  • Conversion value: $127.50
  • ROAS for this click: $127.50 / $1.80 = 7,083%

This data feeds into the campaign’s automated bidding, helping Target ROAS strategies identify high-value keywords.

Why It Matters

The Conversion Tracking Tag is the physical implementation that makes conversion measurement possible. Incorrect installation — missing tags, duplicate firing, wrong values, or broken GCLID capture — undermines every optimization decision in the account. Common issues include tags firing on page load instead of conversion completion, dynamic values not populating correctly, and tags missing from certain confirmation page variants. Regular tag verification using Google Tag Assistant and the conversion tracking diagnostics in Google Ads is essential for maintaining data accuracy.

Try Lyra Free

19 Google Ads optimization tools. 14-day free trial.

Start Free Trial

No credit card charged until trial ends