PostHog Integration
See your AI traffic from PostHog in one dashboard
Connect PostHog with a personal API key and see exactly how much of your traffic comes from ChatGPT, Perplexity, Gemini, Claude and Copilot. Works with US Cloud, EU Cloud and self-hosted deployments, powered by a single HogQL query.
Features
All your PostHog pageviews, finally surfaced for AI
Bring Your Own API Key
Connect with a PostHog personal API key and your numeric project ID. No OAuth and no extra users to invite, just paste the key that starts with phx_ and your project ID and you are live.
HogQL Across Every AI Assistant
We run a single HogQL query over your pageview events and match the referring domain against ChatGPT, Perplexity, Gemini, Claude, Copilot, Grok, Mistral, Meta AI and DeepSeek, with no insights or dashboards to build in PostHog.
Any PostHog Deployment
Choose US Cloud or EU Cloud, or paste the HTTPS URL of your self-hosted PostHog instance in the advanced section. We route every query through the region you select.
No Insights to Maintain
Instead of building and sharing PostHog insights, we query your event data directly with HogQL so the AI breakdown stays accurate even as your event schema evolves.
Read-Only, Revocable
Use a personal API key scoped to query reads. Rotate or delete the key in PostHog and the connection disconnects cleanly, we never write to your project.
395 Days Backfill
On first connect we pull up to 395 days of pageview history so you can see when ChatGPT, Perplexity and Gemini started sending visitors to your PostHog-tracked site.
From PostHog events to AI traffic insights in two minutes
Generate a personal API key, paste your project ID and pick your region. Most teams have a live AI traffic dashboard in two minutes.
-
1
Create a personal API key
In PostHog, open your user settings and create a personal API key with query read access. It starts with phx_.
-
2
Paste your key and project ID
From Reports then AI Traffic, choose PostHog and paste the API key and your numeric project ID. Pick US Cloud, EU Cloud or a self-hosted URL, and we validate it before syncing.
-
3
We run a HogQL query
We query your pageview events with HogQL and match referring domains to AI assistants, with no insights or dashboards to set up in PostHog.
-
4
Explore the AI Traffic dashboard
Within minutes the dashboard fills with users, sessions and top landing pages, broken down by AI platform and overlaid with your AI visibility metrics.
Made for PostHog-first teams
Built for the teams who already run PostHog for product analytics and want AI traffic alongside it.
Product and growth teams
Add AI traffic to the same PostHog data you already use for product analytics. See ChatGPT, Perplexity and Gemini as acquisition channels with users and sessions.
SEO and AEO teams
Correlate spikes in AI visibility with real PostHog pageviews to see which optimisations actually drive traffic.
Privacy-conscious and EU teams
Keep your analytics on EU Cloud or self-hosted PostHog while still tracking AI traffic in LLM Pulse.
Agencies and multi-project teams
Connect a different PostHog project to each LLM Pulse project to track AI traffic for every site independently.
"LLM Pulse is a pioneering response to the need to measure performance across different LLMs. At TecnoCampus we need maximum transparency, the ability to parameterize results and to carry out visibility audits for our brand, now also in the increasingly established field of AI. LLM Pulse gives us all of that in a single place."
Frequently Asked Questions
Everything you need to know about connecting PostHog to LLM Pulse to track AI traffic.
Track AI traffic in PostHog today
Generate a PostHog personal API key, paste your project ID and start seeing AI traffic in minutes.
Trusted by 5,000+ users worldwide