Real ChatGPT answer · index seedJ4AxlZi1imwcompleteMarketing and advertising · AI search and generative engine optimizationhowto

What are the exact technical steps to set up Google Analytics to properly track referral traffic coming from Perplexity AI and other chat interfaces?

ChatGPTgpt-63 queries11/1/2026
Download run

Fan-out diagram

The searches the AI actually ran for this prompt.

SEED QUERY
What are the exact technical steps to set up Google Analytics to properly track referral traffic coming from Perplexity AI and other chat interfaces?
3 real searches · 1 real-search pass
Google Analytics 4 custom channel groups create channel group source matches regex documentation referral trafficGoogle ↗
OBSERVEDReason
Google Analytics 4 traffic acquisition session source medium referral documentationGoogle ↗
OBSERVEDConsequence
Perplexity AI referral traffic analytics GA4 source perplexity.aiGoogle ↗
OBSERVEDReason

Badge and edge weight = share of passes that produced the query. Hover a query for its intent and routing format.

Query classes

Google's semantic query class for every sub-query: what kind of answer each search is after, simulated vs real.

ChatGPT real searches (3)
Short factOther / navigationalComparisonConsequence33%Reason67%DefinitionInstructionYes / no

Classes come from the query-classifier (a local Laya model). 3 of 3 calls are low-confidence (under 50%) — hover a query in the table to see its confidence.

Searches and sources

ChatGPT3 real searches · gpt-6
Google Analytics 4 custom channel groups create channel group source matches regex documentation referral traffic Google ↗
Google Analytics 4 traffic acquisition session source medium referral documentation Google ↗
Perplexity AI referral traffic analytics GA4 source perplexity.ai Google ↗

Queries

3 queries · click a column to sort
Query / typeSearchIntentQuery classRouting formatClusterFreq ↓Weight
Google Analytics 4 custom channel groups create channel group source matches regex documentation referral traffic
OBSERVED
Google ↗
AI Mode ↗
—Reason——1x
of 1
Google Analytics 4 traffic acquisition session source medium referral documentation
OBSERVED
Google ↗
AI Mode ↗
—Consequence——1x
of 1
Perplexity AI referral traffic analytics GA4 source perplexity.ai
OBSERVED
Google ↗
AI Mode ↗
—Reason——1x
of 1