Skip to main content

AI Traffic Tracking Snippet

Add this snippet to your website to track visitors arriving from AI engines. It detects referrals from ChatGPT, Gemini, Claude, Perplexity, and Copilot.

Your Snippet

Log in and generate an API key in Settings to get your snippet.

How it works

  1. Paste the snippet before </body> on every page of your site
  2. Replace YOUR_BRAND_SLUG with your brand's slug from the dashboard
  3. When a visitor arrives from an AI engine, the snippet sends a tracking event to Ataiva
  4. View your AI traffic data in the Traffic tab on your brand dashboard

What it tracks

The snippet is ~300 bytes minified. It only fires when the referrer matches a known AI domain. Zero impact on page speed.