Why this exists
Most analytics platforms (Google Analytics, Plausible, etc.) lump AI traffic into “direct” or “referral” buckets — they can’t tell you a visitor arrived from ChatGPT vs. perplexity.ai. Ansvisor’s tracking pixel reads the referrer chain, classifies AI sources by domain, and gives you a clean breakdown.Setup
1
Get the snippet
On the AI Traffic Analytics page (
/dashboard/traffic), copy the snippet at the top. It looks like:2
Paste into your site
Add the script before
</head> on every page you want to track. For Next.js, drop it in your root layout. For Wordpress, use a header injection plugin. For static sites, edit the template.3
Wait for first visits
Visits start appearing immediately. The dashboard updates in near-realtime (≤1 minute).
What you see
KPI strip
Total AI-referred visits, top platform, unique platforms — all with 7-day delta.
Trend chart
Daily breakdown by AI platform, last 7 days.
Platform table
Per-platform visit counts with week-over-week change.
Top landing pages
Which URLs on your site receive the most AI-driven traffic.
Recent visits log
Real-time stream of the last 10–50 AI visits with platform, page, country, and timestamp.
Supported AI sources
Pixel detects and classifies referrers from:- ChatGPT (chatgpt.com, chat.openai.com, search.chatgpt.com)
- Perplexity (perplexity.ai)
- Claude (claude.ai)
- Gemini (gemini.google.com)
- Copilot (copilot.microsoft.com)
- You.com, Phind, Meta AI, Poe
unknown — likely a future AI source we haven’t catalogued yet. The list is updated regularly.
Privacy
The pixel collects: referrer, URL, country (via IP geolocation), language, screen size, anonymized IP, user agent. It does NOT use cookies, fingerprinting, or any cross-site identifiers. No GDPR consent banner needed in most jurisdictions.Common patterns
- Spike on a Friday — usually a viral Reddit/Twitter thread that AI engines indexed and started recommending
- Sudden country shift — Perplexity or Gemini changed regional weighting; not a metric you control
- Specific page surge — one of your articles is being cited as authoritative; lock it in with internal links to defend
Continue: Competitors
Benchmark your AI presence against named rivals.