Google Ads conversion tracking with Tag Manager, step by step
This is the hands-on article: a purchase conversion for Google Ads, built in Google Tag Manager, with the real order value and a transaction ID, tested before it goes live. The same steps work for a lead; you leave out the value variables and use your form's success event as the trigger. At the end you have a conversion action in Google Ads, a tag in your web container that feeds it, and a status in Google Ads that tells you it works.
Part of the Google Ads measurement series. If you have not decided between the Google tag, Tag Manager and a GA4 import, read Three ways to track Google Ads conversions first. The settings you choose in step 1 are explained in How Google Ads counts a conversion.
What you need
- Access to the Google Ads account that lets you create conversion actions, and publish rights in the Tag Manager web container on the site.
- Auto-tagging switched on in Google Ads, so ad clicks carry a click ID. See the Conversion Linker and the click IDs.
- For a purchase: the order number, the order value and the currency available in the data layer on the confirmation step. Step 4 shows what that looks like.
- A consent setup that tells Tag Manager whether ads may be measured. That is its own guide: Consent Mode v2 in Tag Manager.
1Create the conversion action in Google Ads
In Google Ads, go to Goals › Summary and select + Create conversion action. Choose Conversions on a website, enter your domain and select Scan. Google Ads looks for a Google tag or a linked Analytics property on the site; whatever it finds, continue.
Choose the category that fits, for example Purchases, then + Create conversion with the Google tag as the data source. Of the three methods offered, pick Manually using code. That is the one that supports a dynamic value and a transaction ID, and the one a Tag Manager tag belongs to.
Open Conversion settings before you finish. For a purchase: a value that differs per conversion with a sensible default, count Every, and the windows and attribution you decided on. For a lead: a fixed value and count One. Then Done, Save and continue and, on the last screen, Agree and finish.
Google changes this flow often, and its own help pages do not all use the same button names. If your screen says + New conversion action, it is the same step.
2Find the conversion ID and the conversion label
The tag needs two values. Go to Goals › Conversions › Summary, click the conversion action, and in the Tag setup section choose Use Google Tag Manager. Google Ads shows the Conversion ID and the Conversion Label.
The Conversion ID is unique per Google Ads account, so every action in the account has the same one. The Conversion Label is unique per conversion action. A second action later means the same ID with a new label.
On the same tab there is a shortcut, Set up in Google Tag Manager. It opens Tag Manager, lets you pick a container and a workspace, and adds the suggested Google Ads Conversion Tracking tags with Add to workspace. You still set the triggers and variables yourself, so steps 4 to 6 apply either way.
3Add the Google tag to the container
In Tag Manager, go to Tags › New, choose Google tag under Tag Configuration and enter your Google Ads tag ID in the Tag ID field. Use the Initialization - All Pages trigger, so it loads before your other tags, and save.
Strictly speaking the conversion would work without this step: since April 2025, a container with Google Ads tags loads a Google tag first by itself. Adding it yourself is Google's recommendation, and it means the tag and its settings are visible in the container where you can preview them, not applied out of sight.
It also takes care of the click ID. Google's Conversion Linker page says that a container that loads a Google tag for your destination on every page does not also need a Conversion Linker tag.
4Put the order in the data layer
The tag can only send what the page gives it. On the order confirmation, the site pushes the order to the data layer. Many shop platforms and plugins already do this in the GA4 e-commerce format:
dataLayer.push({
event: "purchase",
ecommerce: {
transaction_id: "ORD-10482",
value: 129.90,
currency: "EUR"
}
});
In Tag Manager, create three variables of the type Data Layer Variable, with as Data Layer Variable Name ecommerce.transaction_id, ecommerce.value and ecommerce.currency. The name must match the key in the push exactly. If your site pushes the keys at the top level, without ecommerce, leave that prefix out.
Then create a trigger of the type Custom Event, with the event name purchase, exactly as the site pushes it.
5Create the conversion tag
Add a new tag and choose Tag Configuration › Google Ads › Google Ads Conversion Tracking. Fill in:
- Conversion ID and Conversion Label: the two values from step 2.
- Conversion Value: the value variable. If this field is empty or the variable is undefined, Tag Manager sends the value as 0.
- Currency Code: the currency variable, a three-letter code such as
EUR. - Transaction ID: the transaction ID variable.
Under Triggering, choose the Custom Event trigger from step 4, and save.
The transaction ID is what stops double counting: when two conversions for the same conversion action arrive with the same transaction ID, Google Ads treats the second as a duplicate and does not count it. It has to be unique per order, can be up to 64 characters, and must not contain anything that identifies the customer, so an order number is right and an email address is not. What to send as the value is in conversion value in Google Ads.
Enhanced conversions, which add hashed customer data to the conversion, build on this tag and have their own article: enhanced conversions for web.
6Test with Preview and Tag Assistant
In the Tag Manager workspace, click Preview. Tag Assistant opens in a new tab. Enter your site's URL and click Connect; the site opens in a new window and shows Connected. Go back to the Tag Assistant tab and click Continue.
Now place a test order. In Tag Assistant, select the purchase event and check three things:
- The Google Ads Conversion Tracking tag fired on that event, once.
- The three variables hold the order number, an amount with a period as the decimal separator, and the currency code. An empty value here is the 0 from step 5.
- The Google tag fired at the start of the first page.
Reload the confirmation page as well. If the tag fires again, the transaction ID keeps Google Ads from counting it twice, but it is better to know now.
Google Ads has its own test from the other side. When an action in the conversion summary shows a problem status, hover over it and select Troubleshoot; Tag Assistant opens, you enter a landing page (not the conversion page itself), click Connect and complete a conversion. Actions verified this way update in Google Ads about 30 minutes after the session.
7Publish and check the status
Click Submit in Tag Manager, name the version after what you added, and publish.
Back in Google Ads, Goals › Summary shows a Status for each action. Google lists five: Active, Needs attention, Misconfigured, Awaiting conversions and Removed. A new action usually starts at Awaiting conversions, which means nothing was recorded in the last 7 days; that is normal for an action less than 48 hours old or with little traffic. Hover over a status for what Google wants you to do. Some of Google's help pages still use an older list of tracking statuses, such as Unverified and Tag inactive. Both lists are explained in Google Ads conversion statuses explained.
A conversion only appears after a real ad click followed by the conversion, and then not at once: Google gives about 3 hours for last-click attribution and about 15 hours for other models. Your own test order without an ad click shows in Preview and never in the Conversions column.
When you run this through a server container
Steps 1 and 2 stay exactly the same: the conversion action, the ID and the label live in Google Ads. What moves is step 5. The Google Ads Conversion Tracking tag is created in the server container, with a Conversion Linker tag next to it, and it fires on a Custom Event trigger with the name of the GA4 event your web container sends. You do not map value, currency and transaction ID by hand there: the server tag reads them from the e-commerce fields of that GA4 event.
Once the server tag works, Google's instruction is to remove the matching conversion tag from the web container, so the order is not counted twice. The full route, including the container import Measurebase generates for it, is in Google Ads conversion tracking through your server container. With your Google Ads account linked, the Measurebase tracking audit reports conversion actions whose only tag is paused or missing, and can propose the missing tag in a separate workspace for you to preview and publish.
Frequently asked questions
Where do I find the conversion ID and conversion label in Google Ads?
Go to Goals, Conversions, Summary, click the conversion action and choose Use Google Tag Manager in the Tag setup section. The ID is the same for the whole account; the label is different for every conversion action.
Do I still need a Conversion Linker tag in Tag Manager?
Not when the container loads a Google tag for Google Ads on every page: Google says such a container does not also need a Conversion Linker tag. An existing Conversion Linker on All Pages can stay.
Why does my Google Ads conversion show a value of 0?
The Conversion Value field in the tag was empty or its variable was undefined, and Tag Manager then sends 0. Check in Preview what the value variable holds on the purchase event, and whether its name matches the data layer key.
How long before a new conversion action shows conversions?
The action needs a conversion that follows a real ad click. After that, Google gives about 3 hours with last-click attribution and about 15 hours with other models before it appears in the reports.
Is a transaction ID required for Google Ads conversions?
No, but use one for every purchase. Google Ads uses it to recognise a second conversion for the same order within the same conversion action, for example after a reload of the confirmation page, and leaves that one out.
Can one Tag Manager container track several Google Ads conversion actions?
Yes. Add one Google Ads Conversion Tracking tag per conversion action, each with the same Conversion ID, its own Conversion Label and its own trigger.