DV360 Tag Manager Integration

Tag Manager Integration

Veracities new tag manager integration allows the customer to fire any tag when a session is a bot.

When the Veracity Tracker detects a bot it pushes an event to the Tag Manager data layer.

{
event: 'veracity',
veracity_status: 'bot',
}

A. Tag Manager Variable

  1. Go to the Google Tag Manager Workspace for your website –
    https://tagmanager.google.com/#/home
  2. Select Variables in the left navigation, then New under User-Defined Variables
    Variables
  3. Name the variable “veracity_status”
    veracity_status
  4. Click the Variable Configuration box and select the “Data Layer Variable” type
    Variable ConfigurationChoose variable type
  5. Ensure that the Data Layer Variable Name is set to “veracity_status” and the Data Layer Version is set to “Version 2”
  6. Save the Variable

B. Tag Manager Trigger

Now we have configured the variable we can use it to active a Tag Manager Trigger. This Trigger can be used to fire any tag when a bot is detected.

  1. Go to the Google Tag Manager Workspace for your website –
    https://tagmanager.google.com/#/home
  2. Select Triggers in the left navigation, then New 

    Triggers
  3. Name the trigger “Veracity Bot Traffic Event”
    Veracity Bot Traffic Event
  4. Click the Trigger Configuration box and select the “Custom Event” type
    Variable ConfigurationTrigger Type
  5. Set the Event name to “veracity”, This trigger fires on to “Some Custom Events” and Fire this trigger when an event occurs and all of these conditions are true to “veracity_status” “equals” “bot”
    Trigger Configuration
  6. Click Save

If you would like some help with this then please contact our customer support team.