Quantcast Cookie Matching Service Tag Setup Guide
This article describes how to set up the Quantcast Cookie Matching Service tag in your Tag Management account. This tag is used to generate a Quantcast ID for use in the Quantcast Audiences connector.
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+.
The Quantcast Cookie Matching Service associates the Tealium anonymous ID cookie with the Quantcast visitor ID.
Tag tips
- If left blank, Tealium Account and Tealium Profile are populated automatically with the current account and profile.
- Use mappings to override standard config values.
- Custom mappings will be included in the cookie sync request to Tealium.
Tag configuration
Go to the tag marketplace to add a new tag. For more information, see About tags.
When adding the tag, configure the following settings:
- Account Code: Account Code (P-code) is a 13 character case sensitive alpha-numeric code starting with
p-. Contact your Quantcast representative if you have questions. - Tealium Account: (Optional) Your Tealium Account name
- Tealium Profile: (Optional) Your Tealium Profile name
Data mappings
Data mappings send values from data layer variables to the corresponding variables in the vendor tag. For more information, see About data mappings.
The available categories are:
Standard
| Variable | Description |
|---|---|
| Account Code | (account_code) |
| Tealium Account | (tealium_account) |
| Tealium Profile | (tealium_profile) |
Customer Data Platform (CDP) Setup
This tag sends a server-side event once per session for each visitor with an event attribute named quantcast_id. Use this attribute to create a visitor attribute of the same name to use with the Quantcast Audiences connector.

To set up the Quantcast ID in CDP:
- Create a string event attribute named
quantcast_id. - Create a string visitor attribute named
quantcast_idwith an enrichment to set the value from the event attribute. - In the Quancast Audiences connector, map the visitor attribute
quantcast_idto the parameter Quancast Cookie User ID.
This page was last updated: November 18, 2026