Skip to main content

Have a project in mind? Let's build something great together.

Contact Us

AI

How to Track Traffic From ChatGPT, Perplexity and AI Search in GA4

How to Track Traffic From ChatGPT, Perplexity and AI Search in GA4

You can track visits from ChatGPT and Perplexity in Google Analytics 4 (GA4). Build a custom channel group that matches the source names chatgpt.com and perplexity.ai, then check it monthly. It takes about ten minutes. It will not catch everything, but it will show you whether AI answers send real people to your site.

This matters because AI search is where more customers start. If you have worked on getting recommended by ChatGPT and AI search, you need a way to see if it is working. Here is how.

Why does AI traffic get lost in GA4?

GA4 sorts every visit into a channel: Organic Search, Direct, Referral, and so on. AI tools do not fit neatly. Depending on the tool and how the link was clicked, a visit may land in Referral, Direct, or Unassigned. A visit from an AI answer can look like it came from nowhere.

So if you never look, your report says “AI sends us nothing.” That is often wrong.

How do ChatGPT and Perplexity show up in your data?

The two tools behave differently:

  • ChatGPT. Links in its answers commonly include utm_source=chatgpt.com. That tag lets GA4 label the visit with a source of chatgpt.com.
  • Perplexity. It generally passes a referrer instead of a UTM tag, so the source appears as perplexity.ai.
  • Other tools. Claude, Gemini and Copilot show up under their own domains, such as claude.ai, gemini.google.com and copilot.microsoft.com.

These behaviours are set by the AI companies and can change without notice. Check your own data before you trust any guide, this one included.

How do I find AI visits in GA4 right now?

You do not need any setup for a first look.

  1. In GA4, open Reports, then Acquisition, then Traffic acquisition.
  2. Change the primary dimension to Session source / medium.
  3. Use the search box to filter for chatgpt, then perplexity, then claude, gemini and copilot.
  4. Set the date range to the last 90 days.

If you see rows, you have AI traffic. Note the sessions, engaged sessions and conversions for each. If you see nothing, your site may be new to these tools, or visits may be hiding under Direct.

How do I build an AI Referrals channel?

A custom channel group keeps this traffic in one place so you can watch it over time.

  1. In GA4, go to Admin, then Data display, then Channel groups.
  2. Create a new channel group. Copy the default one so you keep the standard channels.
  3. Add a new channel named AI Referrals.
  4. Set the condition: Session source matches regex chatgpt\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com.
  5. Drag AI Referrals above Referral in the order. Channels are checked top to bottom, so if it sits below Referral, it never fires.
  6. Save.

The new channel works on your reports from now on, and in many GA4 reports it can be applied to past data too. You can then open Traffic acquisition and pick your new group as the dimension.

Add the domains of any other AI tool you see in your Session source report. Keep the regex short so it stays easy to read.

What can you learn from it?

Look at three things each month:

  • Which pages AI sends people to. Open Landing page with the AI Referrals channel as a filter. These are the pages AI engines trust enough to cite. Make them better first.
  • How those visitors behave. Compare engagement rate and conversions against organic search. For many local service businesses, a small number of AI visitors arrive with a clear question and are ready to book.
  • Which questions you win. The landing page hints at the question. A cited pricing page tells you people asked about cost. Our guide to website cost in Ontario is the kind of page that gets asked about.

What about Google AI Overviews and AI Mode?

Google’s own documentation says that when your site appears in AI features such as AI Overviews and AI Mode, those clicks, impressions and positions are counted in the Web search type in Search Console’s Performance report. They are not shown as a separate line you can filter out.

So you cannot cleanly measure AI Overview clicks. What you can do is watch your total impressions and clicks on question-style queries. If impressions climb while clicks stay flat, AI answers may be showing your content without sending the visit. That is worth knowing, and it is a reason to make the click worth taking: a clear next step, a real offer, a fast page.

Make sure your Google Business Profile is current too. Local AI answers draw on it.

Why are the numbers always too low?

Be honest with yourself about this. AI traffic data is a floor, not a full count:

  • Some people read the AI answer, then type your business name into Google later. That shows up as branded organic search.
  • Some copy your web address or open it in a new tab with no referrer. That shows up as Direct.
  • Some apps strip referrer data.
  • A recommendation that never produces a click still builds awareness.

Two cheap checks fill some of the gap. Add a “How did you hear about us?” field to your contact form with ChatGPT, Google AI and Perplexity as options. And when a new customer calls, ask. A form answer or a short phone question tells you more than any dashboard.

What should you do with the data?

Do not chase the number. Use it to decide where to spend effort:

  1. Find the three pages AI visits most. Add a short, direct answer at the top and update the facts.
  2. Check that those pages load fast and work on a phone.
  3. Make sure each one has a clear call to action.
  4. Ask the AI tools your customers’ questions yourself, once a month, and write down who gets named.

If you would like a hand reading your analytics or fixing the pages that matter, our digital marketing and SEO service covers this for businesses across Kitchener-Waterloo, Guelph and the GTA. Or start with a free website audit.

Quick setup checklist

  • Filter Session source for chatgpt, perplexity, claude, gemini and copilot.
  • Build the AI Referrals channel and move it above Referral.
  • Review landing pages for that channel once a month.
  • Add a “How did you hear about us?” field to your forms.
  • Treat the results as a minimum.

Ten minutes of setup now means that when AI sends you a customer, you will know it.

Join the conversation

Be the first to comment.

Want help putting this to work?

Skroll helps businesses with brand, web, marketing and AI, practically and measurably.

Talk to us

Keep reading