Google Ads Tags
Use a Google Ads tag to tell Google Ads what visitors do on your site. It
has two jobs:
- Conversion tracking: report that a visitor completed a goal you created in Google Ads, such as a purchase or a lead. Google uses conversions to measure campaign return and to optimize bidding.
- Remarketing: report browsing behavior, such as a page view or an add to cart, so Google can build audiences to show ads to later.
A typical setup is one page_view remarketing tag on every page and one
Conversion tag for each conversion action. The tag runs on the same Google
tag as your Google Analytics 4 tags, so Google’s library loads once.
Before you start
- you have the conversion action’s tag details from Google Ads: the
conversion ID (
AW-…) and the conversion label - the container has a trigger for the conversion
- a variable holds the transaction or order ID
- if you also upload conversions with Nitoriq’s Google Ads integration, you know which conversion action it uploads to
Configure a Google Ads tag
Create the tag
Open the container, choose Tags, choose New Tag, then choose Google Ads
under Advertising.
Enter the conversion ID and label
In Google Ads, open Goals, then Conversions, choose the conversion action,
and open its tag setup. The event snippet contains
send_to: 'AW-123456789/AbC-D_efG123'. The part before the slash is the
Conversion ID, and the part after it is the Conversion Label.
Choose the event
Conversionreports a conversion to that action. It needs the label.page_view,view_item,view_item_list,view_search_results,add_to_cartandpurchaseare remarketing events. They build audiences and don’t need a label. For dynamic remarketing, setItemsto a variable holding items with anidand agoogle_business_verticalsuch asretail.
Send the conversion value
For Conversion, set Value to the variable that holds the order amount,
such as {{order_value}}, and pick the Currency from the list. Google Ads
uses them to report conversion value and return on ad spend. If your site
sells in several currencies, choose the + next to Currency and pick a
variable instead.
Use Additional Parameters for any other parameter Google accepts.
Deduplicate with your server-side upload
For Conversion, Deduplication defaults to Match server-side. Set
Transaction ID to the same variable your Report Conversion tag uses. It is
sent as transaction_id.
Nitoriq’s Google Ads integration uploads that same value as the order ID. Google counts a tag conversion and an upload with the same transaction ID once, as long as both go to the same conversion action. See Browser pixels alongside the Conversions API.
Keep the conversion linker on
When someone clicks your ad, Google adds a click ID to the landing page URL.
Conversion Linker saves that ID in a first-party cookie, so a conversion
pages or days later is credited to the ad click. Google recommends keeping it
on.
Turn on Fire once per page for conversion tags on pages that can trigger
them more than once, such as a thank-you page that re-renders.
Select triggers, save, and publish
Choose the triggers, save the tag, and publish the container.
Google Ads fields
Conversion ID
The Google Ads tag ID (AW-…), or a single variable that holds it.
It identifies the Google Ads account to send to.Conversion Label
The conversion action's label. Required for the Conversion event.
Without it, Google can't tell which conversion action to count.Event
Conversion, or a remarketing event.
Only Conversion counts in conversion reports and bidding; remarketing events, including purchase, build audiences.Value and Currency
The conversion's amount and its currency, from the list or a variable.
Google Ads reports conversion value and return on ad spend from them.Items
For remarketing events: a variable holding items with an id and a google_business_vertical.
Dynamic remarketing uses it to show the products a visitor viewed.Additional Parameters
Any other parameter to send with the event.
Covers parameters without a field of their own.Deduplication
Sends the transaction ID so Google counts a tag conversion and an uploaded one once.
Without it, a conversion sent both ways is counted twice.Conversion Linker
Saves the ad click ID from the landing page URL in a first-party cookie.
Turning it off makes attribution less accurate.Fire once per page
Sends the event at most once per page load.
Stops a re-triggered conversion from being sent twice.Allow Google in a Content Security Policy
If your site sets a Content Security Policy, allow:
script-src:https://www.googletagmanager.comandhttps://googleads.g.doubleclick.netconnect-srcandimg-src:https://www.google.comandhttps://googleads.g.doubleclick.net
Check that it works
Open your page with ?niq_debug=1. The debug overlay shows the call, such as
google · event conversion → AW-…/label, with the transaction ID. In Google
Ads, the conversion action’s status and diagnostics confirm conversions are
arriving. Google’s Tag Assistant shows the tag firing on your page.
A Google Ads tag is set up when
- the conversion ID and label come from the conversion action’s tag setup
- conversion tags use
Conversion, with Value and Currency set - conversions send the same transaction ID as your Report Conversion tag
- the tag and any server-side upload go to the same conversion action
- the container is published
Was this page helpful?