MCP App Store

How to Track ChatGPT Traffic and Conversions in Google Analytics and Other Tools

By Mykyta Kuzmenko

May 19, 202615 min read
How to Track ChatGPT Traffic and Conversions in Google Analytics and Other Tools

How to Track ChatGPT Traffic and Conversions in Google Analytics and Other Tools

Most marketing teams are already getting traffic from ChatGPT. They just can't see it clearly.

ChatGPT is sending users to websites every day either because it cites a page in a response, links to a product, or suggests a brand during a conversation. But Google Analytics 4 was built before AI platforms became meaningful traffic sources, and it doesn't automatically separate that traffic from everything else.

The result is a gap in attribution. Your high-intent visitors who arrived from a ChatGPT recommendation are being lumped into Direct or generic Referral traffic. You don't know how many of them converted, which pages they landed on, or how they behaved compared to your other sources.

This article shows how to fix that across GA4, Cloudflare, and other tools you likely already have.

Why ChatGPT traffic is hard to track by default

There are two reasons AI traffic attribution is messy.

The first is session source reporting. ChatGPT does sometimes pass a referrer header if a user clicks a link and is taken to your site from chatgpt.com, GA4 can capture that as a referral with the source listed as chatgpt.com / referral. But this only works when the referrer data is passed correctly, which doesn't happen consistently across all user interactions.

The second is the free user gap. Free-tier ChatGPT users often browse in a way that strips or doesn't pass referrer data at all. Those sessions appear in your GA4 as Direct traffic - no source, no medium, no way to tell where they came from. This means your actual ChatGPT referral numbers are likely higher than what shows up under chatgpt.com in your reports.

Step 1: Find existing ChatGPT traffic in GA4

Before setting up anything new, check what you already have.

In GA4, go to Reports → Acquisition → Traffic Acquisition. Set the primary dimension to Session source / medium. In the search bar, type chatgpt.com / referral and hit enter. If you're already receiving ChatGPT traffic, it will appear here. You can also check openai.com / referral as a secondary search.

The number you see is the baseline and, as noted above, likely an undercount of your actual AI-referred traffic.

Step 2: Create a custom AI Traffic channel in GA4

GA4 uses channel groups to categorize traffic. By default, there is no "AI" channel - visits from ChatGPT, Claude, Perplexity, and Gemini are classified as Referral or Direct. You can fix this by creating a custom channel group.

Go to Admin → Data Display → Channel Groups → Create New Channel Group.

Create a new channel called AI Tools (or AI Referral, the label is up to you). For the matching condition, use a Session source rule with a regex pattern that covers the AI platforms you want to track:

^.*(chatgpt\.com|openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai).*

Save the channel. Position it above the Referral channel in the list - GA4 assigns traffic to the first matching rule, so if AI traffic sits below Referral in the order, it will be absorbed into that bucket instead.

Once saved, open any acquisition report and select your new channel group from the dropdown. AI traffic from all of those platforms now appears as its own channel. Custom channel groups apply retroactively to your historical data, so you'll be able to see how long this traffic has been arriving.

If you want to separate ChatGPT specifically from other AI tools, create a second rule within the same channel group. Add a more specific condition: Session source exactly matches chatgpt.com. Place it above the broader AI Tools condition. GA4 will match ChatGPT traffic to the more specific rule first.

Step 3: Track ChatGPT App conversions with UTM parameters

The custom channel group helps you understand traffic that arrives organically from ChatGPT. But if you're actively building a ChatGPT App and want to track what happens after users are sent from the app to your website - for example, through an external checkout flow you need UTM parameters.

When configuring the external links your ChatGPT App uses to route users to your website, append UTM parameters to each destination URL:

https://yoursite.com/checkout?utm_source=chatgpt&utm_medium=app&utm_campaign=chatgpt_app

This ensures that sessions arriving from your app are tracked independently from organic ChatGPT referrals, and you can attribute conversions specifically to the app rather than general ChatGPT traffic. You can adjust utm_campaign to differentiate between specific flows - product pages, booking confirmations, sign-up funnels.

In GA4, these sessions will appear under the source chatgpt with medium app, making them easy to filter in Exploration reports and conversion funnels.

Step 4: Build an Exploration report for AI traffic behavior

The standard acquisition report gives you session counts and user numbers. To understand what your AI traffic actually does on site, build a custom Exploration in GA4.

Go to Explore → Blank. Set:

  • Dimension: Session source / medium (or your custom channel group)
  • Metrics: Sessions, Engaged sessions, Engagement rate, Conversions, Revenue (if applicable)
  • Filter: Session source contains chatgpt or session channel group is AI Tools

This report shows you whether ChatGPT visitors are staying, engaging with content, and completing goals giving you a behavioral profile of your AI-referred traffic compared to search, direct, and paid sources.

One consistent finding across teams that have done this analysis: AI referral traffic often converts at a higher rate than general referral traffic. The reason is intent. Users who click through from a ChatGPT response have already had their problem articulated and a solution suggested to them. They arrive further along in the decision process.

Step 5: Use Cloudflare AI Crawl Control for deeper visibility

GA4 tells you about sessions from users who clicked through to your site. It doesn't tell you how often AI bots are crawling your pages which is a separate but related signal. High crawl frequency from OpenAI's bots often precedes or correlates with your content being cited in ChatGPT responses.

Cloudflare's AI Crawl Control dashboard, available to all Cloudflare users, lets you see which AI crawlers are visiting your site and how often. Relevant bot names to look for:

  • ChatGPT-User - visits pages in response to specific user prompts inside ChatGPT
  • OAI-SearchBot - crawls content to surface in ChatGPT's search features
  • GPTBot - crawls for training data (not directly related to referrals, but indicates indexing)

You can navigate to AI Crawl Control → Analyze AI Traffic to see which pages the ChatGPT-User bot visits most frequently. Pages that are crawled often in response to user queries are the ones that get cited most. This is a signal for which content to keep updated and which topics are driving your AI visibility.

By combining this with GA4's referral data, you get a more complete picture: Cloudflare shows you where AI bots are paying attention; GA4 shows you where those signals are producing human clicks and conversions.

Step 6: Cross-reference with Ahrefs, Semrush, and other tools

GA4 and Cloudflare cover owned data, what happens on your site. For understanding how you appear inside AI search results and which content is being cited, third-party tools provide a complementary view.

Ahrefs offers a Web Analytics tool that segments traffic by AI platform alongside traditional search sources, giving you a normalized view of your AI traffic share over time. It also tracks trends across thousands of sites, so you can benchmark your AI traffic growth against broader patterns.

Semrush has added AI visibility tracking features that show how often your domain appears in AI-generated responses for relevant queries. This is particularly useful for identifying content gaps, topics where competitors are being cited but you aren't.

Neither tool replaces GA4 for session-level analysis, but they provide the competitive context that GA4 can't offer. Understanding not just "how much traffic am I getting from ChatGPT" but "how visible am I compared to my category" is the question that guides content strategy in an AI-driven environment.

What to do with this data

Once you have clean attribution, a few patterns are worth monitoring on an ongoing basis.

If ChatGPT referrals convert better than organic search, that's a signal to invest more in AI visibility, better content, possibly a ChatGPT App, or both.

The brands that treated Google Analytics seriously in 2005 had an advantage for years. The same logic applies to AI attribution today not because the volume is large yet, but because the behavior of the users arriving through this channel is worth understanding before it becomes your biggest acquisition source.