Google Cookie Matching Service for Google Ad Manager and DV360 (Tealium-hosted) Tag Setup Guide
This article describes how to set up the Google Cookie Matching Service for Google Ad Manager and DV360 (Tealium-hosted) tag in your Tealium iQ Tag Management account.
When using this tag with utag
version 4.50 or later, you must set the utag.js
always_set_v_id
setting to true
. This setting ensures that the visitor ID is available for cookie synchronization. For more information, see the utag 4.50 release notes and Considerations for tealium_visitor_id when upgrading to utag 4.50+.
Google’s Cookie Matching Service enables a buyer to associate the cookie that identifies a Tealium visitor and the doubleclick.net cookie that identifies the user for Google. The Tealium-hosted tag allows clients to persist the Google cookie value in AudienceStream for use in the relevant connectors.
Tag tips
- Use mappings to override the standard configuration.
- If left blank, Tealium Account and Tealium Profile are automatically populated.
- In allowed regions, sends the following server-side attribute back to Tealium:
google_gid
. - For more information, see the Google Cookie Matching documentation.
Tag configuration
Go to the Tag Marketplace to add a new tag. For general instructions on how to add a tag, see Tag Overview.
When adding the tag, configure the following settings:
- Network ID: Use
tealium_dmp
to passgoogle_gid
in the server-side request, or your Google provided Network or Buyer ID for other solutions. - Tealium Account: Your Tealium account.
- Tealium Profile: Your Tealium profile.
Load rules
Load the tag on all pages or set conditions for when your tag will load. For more information about load rules, see the Load Rules documentation.
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 |
---|---|
google_nid |
Network or Buyer ID. |
tealium_trace_id |
Trace ID. |
tealium_selector |
Tealium Selector. |
tealium_account |
Tealium Account. |
tealium_profile |
Tealium Profile. |
process_consent |
If you are not using a consent management platform with IAB support, map T to this variable to indicate that the end user has given consent. |
This page was last updated: March 12, 2025