Docs

File DA-017 View as Markdown

Google Tag Manager

dataLayer.push({ event: 'da_classified', da_class, da_agent, da_score, da_bucket, da_rec, da_verified });
// later, only if the verdict changed: { event: 'da_final', … }
  1. Add a Custom HTML tag with the snippet, firing on Initialization, All Pages.
  2. Create Data Layer Variables for da_class and da_agent.
  3. Keep bots out of Ads with a trigger exception: da_class equals bot.

The push happens only when the container has loaded and analytics consent is granted.