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
- Paste the snippet before
</body>on every page of your site - Replace
YOUR_BRAND_SLUGwith your brand's slug from the dashboard - When a visitor arrives from an AI engine, the snippet sends a tracking event to Ataiva
- View your AI traffic data in the Traffic tab on your brand dashboard
What it tracks
- Which AI engine referred the visitor (ChatGPT, Gemini, Claude, Perplexity, Copilot)
- The landing page URL
- No cookies, no personal data, no GDPR concerns
The snippet is ~300 bytes minified. It only fires when the referrer matches a known AI domain. Zero impact on page speed.