PostHog Integration
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
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.
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.
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.
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.
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.
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.
Generate a personal API key, paste your project ID and pick your region. Most teams have a live AI traffic dashboard in two minutes.
In PostHog, open your user settings and create a personal API key with query read access. It starts with phx_.
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.
We query your pageview events with HogQL and match referring domains to AI assistants, with no insights or dashboards to set up in PostHog.
Within minutes the dashboard fills with users, sessions and top landing pages, broken down by AI platform and overlaid with your AI visibility metrics.
Built for the teams who already run PostHog for product analytics and want AI traffic alongside it.
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.
Correlate spikes in AI visibility with real PostHog pageviews to see which optimisations actually drive traffic.
Keep your analytics on EU Cloud or self-hosted PostHog while still tracking AI traffic in LLM Pulse.
Connect a different PostHog project to each LLM Pulse project to track AI traffic for every site independently.
"LLM Pulse is an essential tool for anyone needing to track visibility in LLMs. The platform works seamlessly, and the team is highly professional and responsive. It brings much-needed light and structure to the often unpredictable context of AI visibility. Highly recommended."
Everything you need to know about connecting PostHog to LLM Pulse to track AI traffic.
Generate a PostHog personal API key, paste your project ID and start seeing AI traffic in minutes.
Trusted by 5,000+ users worldwide