AI traffic snippet
One line of code that measures visits from AI assistants and remembers ad click IDs for lead attribution.
Get the snippet
Open Your site → AI traffic and copy the snippet.
Install it
- WordPress — use a header/footer plugin (e.g. WPCode) and paste it into the header for all pages, or add it to your theme’s
header.phpbefore</head>. - Google Tag Manager — create a Custom HTML tag with the snippet, triggered on All Pages, and publish.
- Shopify — Online Store → Themes → Edit code →
theme.liquid, before</head>. - Any other site — paste it before
</head>on every page.
Visits appear within a few minutes of the first AI-referred visitor. The Integrations card turns green once visits are received.