How do I tell when a visitor came from ChatGPT or Perplexity?

Partly, and Search Console now covers the Google half of it:

  • Search Console has a generative AI report - it “includes impressions for the following generative AI capabilities on Google Search: AI Overviews … AI Mode” (Google Search Console Help).
  • It reports impressions only - no clicks, no click-through rate, no position and no query breakdown, and AI Overviews and AI Mode are reported together rather than separately.
  • ChatGPT and Perplexity appear as referrals - their hostnames show up in your analytics referrer report like any other site.
  • Some AI traffic has no referrer at all - a person who reads an answer and then types your name arrives as direct traffic.

Expect an undercount. What you can measure is a floor, not the total.