- TLC Home Home
- Discussions & Ideas Discussions & Ideas
- Product Guides Product Guides
- Knowledge Base Knowledge Base
- Developer Docs Developer Docs
- Education Education
- Blog TLC Blog
- Support Desk Support Desk
This article describes how to set up the Google Analytics (gtag.js) tag in your Tealium iQ Tag Management account.
Google Analytics provides APIs to collect, configure, and report on user-interactions with your online content. Using gtag.js lets you benefit from the latest tracking features and integrations as they become available.
In this article:
cst
in custom event variables with your desired event nameFirst, go to Tealium's tag marketplace and add the Google Analytics (gtag.js) tag (Learn more about how to add a tag).
After adding the tag, configure the following settings:
UA-XXXXXX-13
Enable App + Web by including the measurement ID in the Tracking ID value.
For example; UA-XXXXXX-13,G-XXXXXXXXXX
setAllowLinker
).setAllowLinker
and enables the cross-domain tracking plug-in.crossDomainTrack
.optimize_id
and enables the Google Optimize plug-in.dataLayer
._ga
parameter is added to the query portion of the URL rather than the anchor portion ("#").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:
Variable | Description |
---|---|
tracking_id |
|
transport_type |
|
page_title |
|
page_location |
|
|
|
cookie_name |
|
|
|
|
|
cookie_prefix |
|
cookie_update |
|
config.linker.accept_incoming |
|
config.linker.domains |
|
allow_ad_personalization_signals |
|
config.link_attribution.cookie_name |
|
config.link_attribution.cookie_expires |
|
config.link_attribution.levels |
|
config.campaign.id |
|
config.campaign.name |
|
config.campaign.source |
|
config.campaign.medium |
|
config.campaign.content |
|
config.campaign.term |
|
config.anonymize_ip |
|
clear_global_vars |
|
config.optimize_id |
|
config.use_amp_client_id |
|
|
|
config.site_speed_sample_rate |
|
customer_id |
|
config.client_id |
|
Variable | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
event.fatal |
|
|
|
|
|
|
|
|
|
|
|
event.start_date |
|
event.end_date |
|
|
|
event.anonymize_ip |
|
|
|
|
|
Variable | Description |
---|---|
screen_view |
|
|
|
|
|
|
|
|
|
IDconfig.app_installer_id |
|
Variable | Description |
---|---|
content_group1 |
Content Group 1 |
content_group2 |
Content Group 2 |
content_group3 |
Content Group 4 |
content_group4 |
Content Group 4 |
content_group5 |
Content Group 5 |
Variable | Description |
---|---|
dimension1 |
Dimension 1 |
dimension2 |
Dimension 2 |
dimension3 |
Dimension 3 |
dimension4 |
Dimension 4 |
dimension5 |
Dimension 5 |
dimension6 |
Dimension 6 |
dimension7 |
Dimension 7 |
dimension8 |
Dimension 8 |
dimension9 |
Dimension 9 |
dimension10 |
Dimension 10 |
dimension11 |
Dimension 11 |
dimension12 |
Dimension 12 |
dimension13 |
Dimension 13 |
dimension14 |
Dimension 14 |
dimension15 |
Dimension 15 |
dimension16 |
Dimension 16 |
dimension17 |
Dimension 17 |
dimension18 |
Dimension 18 |
dimension19 |
Dimension 19 |
dimension20 |
Dimension 20 |
-- Premium Dimension-- | 0 |
dimension21 - dimension200 |
Dimension 21 through Dimension 100 |
Variable | Description |
---|---|
metric1 |
Metric 1 |
metric2 |
Metric 2 |
metric3 |
Metric 3 |
metric4 |
Metric 4 |
metric5 |
Metric 5 |
metric6 |
Metric 6 |
metric7 |
Metric 7 |
metric8 |
Metric 8 |
metric9 |
Metric 9 |
metric10 |
Metric 10 |
metric11 |
Metric 11 |
metric12 |
Metric 12 |
metric13 |
Metric 13 |
metric14 |
Metric 14 |
metric15 |
Metric 15 |
metric16 |
Metric 16 |
metric17 |
Metric 17 |
metric18 |
Metric 18 |
metric19 |
Metric 19 |
metric20 |
Metric 20 |
-- Premium Metric-- | 0 |
metric21 - metric200 |
Metric 21 through Metric 200 |
Variable | Description |
---|---|
code>checkout_step |
|
|
|
order_currency |
|
code>order_id |
|
order_total |
|
|
|
order_tax |
|
order_store |
|
|
|
customer_id |
|
product_id |
|
product_name |
|
product_brand |
|
product_category |
|
product_variant |
|
product_unit_price |
|
product_quantity |
|
product_discount |
|
product_promo_code |
|
product_action_list |
|
product_list_name |
|
product_list_id |
|
product_list_position |
|
product_location_id |
|
Variable | Description |
---|---|
impression_id |
|
impression_name |
|
|
|
impression_brand |
|
impression_variant |
|
impression_price |
|
impression_list_name |
|
impression_list_position |
|
|
|
promo_name |
|
promo_creative_name |
|
|
|
Variable | Description |
---|---|
event.trip_type |
|
start_date |
|
end_date |
|
origin |
|
destination |
|
flight_number |
|
travel_class |
|
fare_product |
|
booking_code |
|
event.passengers.total |
|
event.passengers.adult |
|
event.passengers.child |
|
event.passengers.infant_in_lap |
|
event.passengers.infant_in_seat |
|
Variable | Description |
---|---|
event.achievement_id |
|
event.character |
|
event.group_id |
|
event.item_name |
|
event.level |
|
event.level_name |
|
event.score |
|
event.success |
|
event.virtual_currency_name |
|
Google Analytics 4 (GA4) is currently supported through the App and Web mappings for this tag.
Copyright All Rights Reserved © 2008-2021