DV360 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
- Go to the Google Tag Manager Workspace for your website –
https://tagmanager.google.com/#/home - Select Variables in the left navigation, then New under User-Defined Variables
- Name the variable “veracity_status”
- Click the Variable Configuration box and select the “Data Layer Variable” type
- Ensure that the Data Layer Variable Name is set to “veracity_status” and the Data Layer Version is set to “Version 2”
- 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.
- Go to the Google Tag Manager Workspace for your website –
https://tagmanager.google.com/#/home - Select Triggers in the left navigation, then New
- Name the trigger “Veracity Bot Traffic Event”
- Click the Trigger Configuration box and select the “Custom Event” type
- 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”
- Click Save
If you would like some help with this then please contact our customer support team.