Tealium Tag Setup Guide

This article describes how to set up the ad tags in your Tealium iQ Tag Management account.

Jump Ahead


This article describes how to set up ad tags in your Tealium iQ Tag Management account.

Tag Tips

  • Use mapping to:
    • Override the value for Account ID
    • Set values for required and optional parameters
    • Trigger events and set values for event parameters
  • Supported E-Commerce extension parameters:
    • Order ID (_corder)
    • List of Product IDs (_cprod)
    • List of Quantities (_cquan)
    • List of Prices (_cprice)

Tag Configuration

First, go to the tag marketplace and add the tag (Learn more about how to add a tag).

After adding the tag, configure the following settings:

  • Account ID:
    • Required
    • For multiple accounts, use a comma-separated list.

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


email
  • String
  • Customer email address.
retailer_visitor_id
  • String
  • Retailer Visitor ID
  • A unique unauthenticated ID that is consistent over multiple sessions on the the same device.
customer_id
  • String
  • Customer ID
  • An identifier for an authenticated user that is consistent for all logged in sessions.
  • ID must not contain personally identifiable information such as names, email addresses, unencrypted phone numbers, etc.
  • Leave empty if the customer is unknown or your site does not have unique IDs.
  • This variable is not related to e-commerce extension _ccustid variable.
site_type
  • Site type.
  • Version of the site.
  • The value can be one of the following:
    • m - The mobile version of your site
    • t - The tablet version of your site
    • d (default) - The classic version of your site. This is often the site that browsers access.
hashed_email
  • Hashed email.
  • String
  • Customer hashed email address.
zip_code
  • String
  • Customer zip code.

E-Commerce

order_id
  • Order ID
  • Unique transaction identifier.
  • Overrides _corder.
Product IDs
  • Array
  • Products ID
  • Unique identifier of each product in the product array.
  • Overrides _cprod.
Product Prices
  • Array
  • Unit price of each product in the product array.
  • Overrides _cprice.
Product Quantities
  • Array
  • Quantity of each product in the product array.
  • Overrides _cquan.

Events

To trigger events on a page, map variables to these destinations. The event triggers when the supplied value is found in the data layer.

  1. Select an event from the Events drop-down list.
  2. In the Trigger field, enter the value of the variable being mapped.
  3. Click + Add.
  4. To map more events, repeat steps 1, 2, and 3.

viewHomeHome page viewed
viewCategoryProduct category viewed
viewSearchResultSearch results viewed
viewItemProduct viewed
viewBasketCart viewed
viewListList of products viewed
addToCartProduct added to cart
trackTransactionTransaction page activity

Load Rules

Load Rules determine when and where to load an instance of tags on your site.

Create custom Load Rules to load the tag on any page where you want trigger ad Events. For example, if you are tracking conversion events, load this tag on the checkout page or the confirmation page.

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 destination variables are built into the Data Mappings tab. The available destination variables are described in the following sections.

Passing Parameters with Events

To pass additional data with the Event destinations you mapped earlier, map variables to the corresponding parameters. If a user has filtered a product list, the filters can be included as parameters.

To pass a parameter with a mapped event:

  1. Select an event from the Events drop-down list.
  2. Select a parameter from the Parameters drop-down list.
  3. Click + Add.

The available parameters and filters vary depending on the selected event, as shown in the following table:

viewHome

  • Page ID
  • Custom
  • No filter
viewCategory
viewSearchResult
  • Item
  • Keyword
  • Category
  • Page Number
  • Page ID
  • Custom
  • Filter by Name, Operator, Value
viewItem
  • Item
  • Price
  • Availability
  • Custom
  • No filter
viewBasket
addToCart
  • Page ID
  • Custom
  • Filter by ID, Price, Quantity
viewList
  • Item
  • Custom
  • No filter
trackTransaction
  • Transaction ID
  • Custom
  • Filter by ID, Price, Quantity