Track ChatGPT and Perplexity referral traffic with a browser pixel
Add one public browser pixel to record recognized referral visits from ChatGPT, Perplexity, Claude, Gemini, Copilot, and NotebookLM. Foglift groups each visit by engine, landing page, and date so you can see which AI answer surfaces send people to your site.
The pixel uses a public, hostname-bound workspace identifier and needs no secret API key. It records the referral path without collecting the conversation or prompt. Published-site verification is part of the install.
1. Copy your generated pixel
Open AI Traffic while signed in to copy the snippet with your workspace identifier filled in. That identifier is safe in page source and cannot access your account.
Webflow and Framer have step-by-step walkthroughs above. For any other builder, do not place JavaScript in a CSS field or a single-page embed. Publish the change site-wide so any landing page can record a recognized referral.
3. Verify the placement
Publish the site and open a public page in a private browser window.
Confirm pixel.js returns successfully in the browser Network panel.
Confirm a recognized test referral sends a successful cross-origin POST to Foglift.
Return to AI Traffic. The first recognized AI answer referral appears when a visitor arrives from a supported AI answer surface.
A successful script load proves the placement is live. It does not create a referral event and does not prove that an AI engine cited, indexed, or recommended the site.
Free is enough to install the browser pixel for one brand. Paid plans expand brand capacity and add five-engine AI Visibility monitoring plus developer access.
Plan
Price
Brands
AI Visibility
Free
$0/mo
1
Active-use weekly Perplexity monitoring
Launch
$49/mo
3
Five engines, up to daily
Growth
$129/mo
10
Five engines, up to twice daily
Enterprise
Custom
Custom
Five engines, up to hourly
Browser pixel FAQ
What the pixel records, and what it does not prove
How do I track AI referral traffic from ChatGPT and Perplexity?
Add the Foglift browser pixel to every page with the public workspace identifier from AI Traffic. When a visitor arrives from a recognized ChatGPT, Perplexity, Claude, Gemini, Copilot, or NotebookLM surface, Foglift records the engine, landing path, and date without storing the conversation or prompt.
Does the browser pixel need a secret API key?
No. The browser pixel uses a public, hostname-bound workspace identifier. That identifier can appear in page source and cannot read account data or act as an authenticated Foglift API key.
Can the browser pixel track GPTBot and ClaudeBot visits?
Only when a recognized agent executes the page JavaScript. Classic crawler requests that fetch HTML without running JavaScript remain invisible to the pixel. Use a server, middleware, WordPress, or edge installation when complete crawler-request coverage matters.
Does an AI referral prove that my page was cited?
A recognized referral proves that a visitor arrived from a supported AI surface. It does not identify the answer text or prove which URL was cited when the source withholds that context. Keep referrals, prompt-level mentions, provider-returned citations, and crawler requests as separate evidence.
Can I track AI referral traffic for free?
Yes. Foglift Sensor and AI Crawler Analytics are available on the Free plan for one brand. Free also includes unlimited single-page Technical Audits and active-use weekly Perplexity monitoring. Launch starts at $49 per month and adds five-engine monitoring, API, CLI, MCP, and webhooks.
Need crawler-request visibility?
Use the install path that runs where HTTP requests are visible.