Description

By default, The Trade Desk Cookie Matching Service tag uses a first party cookie (utag_main_ttd_uuid) to prevent it from triggering again in that session. If a cookie is not desired, there is a customization that could allow the ability to us localStorage instead of the first party cookie. Using AudienceStream's Data Layer Enrichment feature, a visitor attribute can be used as in a load rule to prevent the tag from firing.

Steps

  1. In CDH, verify the TTD UUID string attribute has been created (similar to the photo below).ttd_uuid_as_attr.png
  2. In Tealium iQ, make sure Data Layer Enrichment is enabled, then create a new load rule:
    1. Title it "Run when TTD UUID is not set"
    2. Check if the TTD UUID UDH attribute is not defined
  3. Apply the load rule to the Trade Desk Cookie Matching Service tag
  4. Edit the Trade Desk Cookie Matching Service tag template to remove two pieces of code:
    1. Replace
      if (!b["cp.utag_main_ttd_uuid"] && !u.data.order_id) {
      with
      if (!u.data.order_id) {
    2. Remove
      utag.loader.SC("utag_main", {"ttd_uuid" : (o.tvt[tl - 1].t1 + ";exp-session")}); 
  5. Save and Publish

This update will not trigger a call at the beginning of session since localStorage is at the Visitor Level. The original ttd_uuid will remain and not update in this instance. 

Attached is a version (20099.20201015) of the Trade Desk Cookie Matching Service tag template modified with the changes listed in Step #4. 

Attachments
Version history
Revision #:
8 of 8
Last update:
a month ago
Updated by: