This article describes how to set up the Google Ads Conversion Tracking and Remarketing (gtag.js) tag in your Tealium iQ Tag Management (TiQ) account.
In this article:
Table of Contents Placeholder
Tag Tips
- Supports the E-Commerce extension for:
- Subtotal/Conversion Value
- Order Currency/Conversion Currency
- Order ID/Transaction ID
- List of Product IDs
- List of Categories
- List of Quantities
- List of Prices
- Use mapping to dynamically override the standard config values and the E-Commerce extension values.
- Pass custom conversion variables by mapping to "Custom Conversion Variable" and replacing "myvar" with your custom variable name.
- Google Ads documentation
Tag Configuration
First, go to Tealium's tag marketplace and add the Google Ads Conversion Tracking and Remarketing (gtag.js) tag (Learn more about how to add a tag).
After adding the tag, configure the following settings:
- Conversion ID
- Required.
- Unique ID for the conversion.
- You can find this ID in your Google Ads control panel.
- Example: AW-123456789
- Use mapping to dynamically override this value.
- Use a comma-separated list to send data for multiple properties.
- Conversion Label
- Set a default label here and use mapping to dynamically override this value.
- Use a comma-separated list to send data for multiple labels.
- This list can use a matching number of Conversion Labels as Conversion IDs or use a single label for all Conversion IDs.
- Conversion Value
- Set a default value here or leave this blank to use the Subtotal value from the E-Commerce extension.
- Use mapping to dynamically override this value and the E-Commerce extension value.
- Global Object
- This is the name of the Global Object used for the event queue, if not specified "gtag" is used.
- This is not required for most implementations.
- Data Layer Name
- By default, the data layer initiated and referenced by the global site tag is named dataLayer.
- Rename the data layer only if your project requires a separate name.
- Enable Remarketing
- When Remarketing is enabled, this tag will automatically pull in data from the E-Commerce Extension to populate the Google Ads "Retail" parameters.
- Prefix:
ecomm_
.
- Mapping directly to the "Retail" tab in the toolbox will override the data pulled in via the E-Commerce Extension.
- Page Type
- Select a default page type here and use mapping to dynamically override this value.
- Cross-Tracking Domains
- A comma-separated list of domains to use with Cross-Domain Tracking (
setAllowLinker
).
- This should be the top level domain
- Example: tealiumiq.com
Data Mappings
Mapping is the process of sending data from a data layer variable to the corresponding destination variable of the vendor tag. For instructions on how to map a variable to a tag destination, see Data Mappings.
The available categories are:
Standard
Variable |
Description |
conversion_id |
- Required.
- Conversion ID.
- Unique ID for the conversion.
- You can find this ID in your Google Ads control panel.
- Example: AW-123456789
- Use mapping to dynamically override this value.
- Use a comma-separated list to send data for multiple properties.
|
conversion_label |
- Conversion label.
- Set a default label here and use mapping to dynamically override this value.
- Use a comma-separated list to send data for multiple labels.
- This list can use a matching number of Conversion Labels as Conversion IDs or use a single label for all Conversion IDs.
|
conversion_value |
- Conversion value.
- Set a default value here or leave this blank to use the Subtotal value from the E-Commerce extension.
- Use mapping to dynamically override this value and the E-Commerce extension value.
|
conversion_currency |
|
pagetype |
- Page type.
- Select a default page type here and use mapping to dynamically override this value.
|
aw_merchant_id |
- AdWords Merchant Center ID
|
aw_feed_country |
|
aw_feed_language |
|
config.send_page_view) |
|
conversion_cookie_prefix |
- Conversion cookie prefix.
|
custom.myvar |
- Custom conversion variable.
|
Retail
Variable |
Description |
ecomm.prodid |
- E-commerce product ID.
- Overrides
_cprod .
|
ecomm.totalvalue |
|
ecomm.category |
- E-commerce category.
- Overrides
_ccat .
|
ecomm.pvalue |
- E-commerce price value.
- Overrides
_cprice .
|
ecomm.quantity |
- E-Commerce quantity.
- Overrides
_cquan .
|
Education
Variable |
Description |
edu.pid |
Education pid |
edu.plocid |
Education plocid |
Flights
Variable |
Description |
flight.originid |
|
flight.destid |
|
flight.totalvalue |
|
flight.startdate |
|
flight.enddate |
|
Hotel and Rentals
Variable |
Description |
hrental.id |
|
hrental.startdate |
|
hrental.enddate |
|
hrental.totalvalue |
- Hotel rental total value.
|
Jobs
Variable |
Description |
job.id |
|
job.locid |
|
job.totalvalue |
|
Local
Variable |
Description |
local.id |
|
local.totalvalue |
|
Real Estate
Variable |
Description |
listing.id |
|
listing.totalvalue |
- Real estate listing total value.
|
Travel
Variable |
Description |
travel.destid
|
|
travel.originid |
|
travel.startdate |
|
travel.enddate |
|
travel.totalvalue |
|
Other
Variable |
Description |
dynx.itemid |
|
dynx.itemid2 |
|
dynx.totalvalue |
|
Advanced
Variable |
Description |
custom.ecomm_rec_prodid |
|
custom.a |
|
custom.g |
|
custom.hasaccount |
|
custom.cqs |
|
custom.rp |
|
custom.ly |
|
custom.hs |
- Visitor high spender score.
|
custom.myvar |
|
Phone Conversion
Variable |
Description |
config.phone_conversion_number |
|
config.phone_conversion_callback |
- Function
- Phone conversion callback
|
config.phone_conversion_css_class |
- String
- Phone conversion CSS class name.
|
config.phone_conversion_options.timeout |
- Number
- Phone conversion timeout.
|
config.phone_conversion_options.cache |
- Boolean
- Phone conversion cache.
|
E-Commerce
Variable |
Description |
order_id |
- Order ID.
- Overrides
_corder .
|
order_subtotal |
- Order subtotal.
- Overrides
_csubtotal .
|
order_currency |
- Order currency.
- Overrides
_ccurrency .
|
product_id |
- Array
- List of Product IDs.
- Overrides
_cprod .
|
product_category |
- Array
- List of Categories.
- Overrides
_ccat .
|
product_quantity |
- Array
- List of Quantities.
- Overrides
_cquan .
|
product_unit_price |
- Array
- List of prices.
- Overrides
_cprice .
|
product_discount |
- Array
- List of discounts.
- Overrides
_cdisc .
|
Event-specific Parameters
Variable |
Description |
gtag_enable_tcf_support |
- Enable TCF support.
- Values are true or false.
|
IAB Transparency and Consent Framework v2
Variable |
Description |
exception |
|
generate_lead |
|
login |
|
page_view |
|
screen_view |
|
search |
|
share |
|
sign_up |
|
timing_complete |
|
view_search_results |
|
cst |
|
add_payment_info |
|
add_to_cart |
|
add_to_wishlist |
|
begin_checkout |
|
checkout_progress |
|
purchase |
|
refund |
|
remove_from_cart |
|
product_click |
|
promotion_click |
|
set_checkout_option |
|
view_item |
|
view_item_list |
|
view_promotion |
|