Tutorial: isolating AI referral traffic in GA4 and BigQuery
10/16/2026 — 10/16, 14:19·1 sources (all)·1 reports (all)
Key takeaways
- A DEV Community post shows how to build a custom channel group in GA4 for AI assistants such as ChatGPT, Perplexity and Gemini, separating A…
Background & analysis
On October 16, 2026, a post on DEV Community described a way to separate AI-referred traffic from everything else that lands in the Referral bucket. The approach starts in GA4, where a custom channel group is created for AI assistants such as ChatGPT, Perplexity, and Gemini, so their visits are no longer lumped in with other referring websites.
From there, the post turns to BigQuery. A query is run against the GA4 export to pull out AI-referred sessions and landing pages, which are then joined against citation data to compare what was cited with what was actually clicked. The post frames this as a follow-up question to AI visibility metrics: those metrics show how often assistants mention and cite a site, but they do not answer whether any of that turns into traffic. Part of that answer, the post notes, is already sitting in analytics data, mixed into Referral alongside every other website.
As of this report, the method stops at that point: a GA4 custom channel group to isolate the sources, a BigQuery query over the GA4 export to surface AI-referred sessions and landing pages, and a join against citation data to compare cited with clicked. The post does not include specific query statements, data volumes, or performance numbers.
AI-generated from 1 reports · updated 3 hours ago
Latest turnA DEV Community post shows how to isolate AI-assistant referrals in GA4 with a custom channel group for ChatGPT, Perplexity and Gemini, which are otherwise buried under Referral. It then queries the GA4 BigQuery export to pull AI-referred sessions and landing pages, and joins that against citation data to compare what was cited with what was actually clicked.
Related AI tools
- Heat index
- 91
- All sources
- 1
- All reports
- 1
- First seen
- 3 hours ago
Reports on this story headlines open the original
A DEV Community post shows how to isolate AI-assistant referrals in GA4 with a custom channel group for ChatGPT, Perplexity and Gemini, which are otherwise buried under Referral. It then queries the GA4 BigQuery export to pull AI-referred sessions and landing pages, and joins that against citation data to compare what was cited with what was actually clicked.
DEV Community · AIAI score 57
Other stories people are talking about
- Heat index 97NewGEO tips: getting AI assistants to recommend your local business1 sources
- Heat index 495Eight US States Sue OpenAI, Alleging ChatGPT Harms Children11 sources
- Heat index 86NewOpenAI adds invisible watermarks to ChatGPT and Codex text in the EU1 sources
- Heat index 80OpenAI expands ChatGPT ads with lower prices and an SMB push1 sources
- Heat index 183NewOpenAI upgrades ChatGPT browser extension to read tabs and act on web pages2 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion
