Track ChatGPT & AI Traffic in GA4 for Shopify

GPTLab feature · Updated December 2026

In short

Google Analytics doesn't show your AI traffic clearly. Visits from ChatGPT, Perplexity, Gemini, Claude and Copilot get split across Referral, Unassigned and Direct, so most stores have no idea what AI sends them. GPTLab's Monitor connects to your GA4 with read-only access and shows your AI referrals in one place, for the last 7, 30 or 90 days. It's included on every GPTLab plan.

See exactly how many visits AI assistants send your store.

Start 3-day free trial

Why AI traffic is hard to see in GA4

Google added an AI Assistant channel to GA4's default channel group in May 2026. It helps, but it misses a lot:

Not every AI is on the list

Google's list covers ChatGPT, Gemini, DeepSeek, Copilot and Grok. Perplexity isn't on it, so its visits still land in Referral.

One source, three channels

The same chatgpt.com visits can show up as AI Assistant, Referral or Unassigned, depending on the medium GA4 records.

Apps hide the referrer

AI mobile apps and in-app browsers often send no referrer, so those visits look like Direct traffic.

So even with the new channel, your AI number in GA4 is usually too low. The goal is to count every visit you can identify, in one clear place.

Where AI traffic hides in Google Analytics

AI platform Usual source in GA4 Where it often ends up
ChatGPT chatgpt.com (older visits: chat.openai.com) AI Assistant, Referral or Unassigned
Perplexity perplexity.ai Referral
Gemini gemini.google.com AI Assistant or Referral
Claude claude.ai Referral
Microsoft Copilot copilot.microsoft.com AI Assistant or Referral
Google AI Overviews and AI Mode google Organic Search, not counted as AI
AI mobile apps none Direct

ChatGPT often adds utm_source=chatgpt.com to the links it cites, which helps GA4 credit the visit, but not every link gets it.

How GPTLab tracks your AI traffic

GPTLab has a Monitor tab in your Shopify admin. It connects to your Google Analytics 4 property and pulls out the visits that come from AI assistants.

Safe

Read-only GA4 access

GPTLab only reads your analytics. It never writes to or changes your GA4 data.

Clear

AI referrals in one view

See visits from matched AI assistants for the last 7, 30 or 90 days, instead of hunting across channels.

Accurate

Store match check

GPTLab shows your GA4 property, web stream and measurement ID, and checks that the stream URL matches your store domain.

Control

Sync on demand

See when the data last synced and hit Sync now any time. Change the property or web stream, or disconnect, in one click.

No AI referrals yet?

  • Try a longer range. Switch to 90 days. AI traffic often starts small.
  • Check crawler access. The Monitor links straight to GPTLab's crawler check, so you can confirm AI bots aren't blocked by robots.txt.
  • Work on visibility. Traffic follows mentions. Use AI visibility tracking to see which prompts name you, and AI Content Studio to fill the gaps.

Set up AI traffic tracking in 4 steps

1

Install GPTLab

Add it from the Shopify App Store. AI traffic monitoring is included on every plan, with a 3-day free trial.

2 minutes
2

Connect Google Analytics

Open the Monitor tab and connect your GA4 account with read-only access.

Read-only
3

Pick your property and web stream

Choose the GA4 property and web stream for your store. GPTLab checks that the stream URL matches your store domain.

Matches store
4

Watch your AI referrals

Switch between 7, 30 and 90 days, and sync any time to see the latest numbers.

7 · 30 · 90 days

How to track ChatGPT traffic in GA4 yourself

Want to see AI traffic inside GA4 too? Build a custom channel group. It takes about 10 minutes:

1

Open channel groups

In GA4, go to Admin, then Data display, then Channel groups, and create a new channel group.

2

Add an "AI" channel

Add a new channel and set the condition to Source, matches regex, with the pattern below. Don't add a medium condition, so you also catch the referral and (not set) versions.

3

Move it to the top

Place the AI channel above Referral and Organic Search, or those channels will claim the visits first.

4

Save and check

Use the new channel group in your Traffic acquisition report. Custom channel groups also apply to your past data.

chatgpt\.com|chat\.openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|grok\.com|chat\.deepseek\.com

Keep the pattern specific. Short words like "gpt" or "google" match the wrong traffic. Review the list every few months as new AI tools appear.

How to read your AI traffic

What you see What it likely means What to do
Zero AI referrals AI isn't naming or linking your store yet, or bots are blocked. Check crawler access, then work on prompts where you're missing.
Traffic from one platform only That platform likes your content, the others haven't caught on yet. Compare prompt results across platforms in AI visibility tracking.
Traffic to blog posts, not products AI cites your guides but not your product pages. Add internal links from posts to products, and improve product data.
Traffic growing month on month Your AI visibility work is paying off. Keep a monthly baseline and keep filling content gaps.

Remember: AI traffic in analytics is a floor, not the full total. Some AI visits always arrive as Direct, and many shoppers read an AI answer, then search for your brand later.

Frequently asked questions

How do I track ChatGPT traffic in Google Analytics 4?

Look for chatgpt.com in your Traffic acquisition report, or build a custom channel group with an AI channel that matches AI sources by regex, placed above Referral. GPTLab's Monitor does this for you with read-only GA4 access.

Does GA4 track AI traffic automatically?

Partly. Since May 2026, GA4 has an AI Assistant default channel, but it misses Perplexity, visits tagged as referral or (not set), and app visits that look like Direct.

Why does my AI traffic show up as Direct?

AI mobile apps and in-app browsers often don't pass a referrer, so GA4 can't tell where the visit came from.

Is Google AI Overviews traffic counted as AI traffic?

No. Visits from Google AI Overviews and AI Mode count as Organic Search in GA4.

Does GPTLab change my Google Analytics?

No. GPTLab connects with read-only access and never writes to your analytics.

Which GPTLab plans include AI traffic monitoring?

All of them, starting with Essentials at $49/month. Every plan has a 3-day free trial.

What if I see no AI referrals?

Try the 90-day range, check that AI crawlers can access your store, and work on getting mentioned in AI answers first. Traffic follows mentions.

AI traffic analytics

Know what AI sends you.

Connect GA4 read-only and see your AI referrals from ChatGPT, Perplexity, Gemini, Claude and more, in one place.

Start 3-day free trial See all GPTLab features

Keep learning

GPTLab overview

See all features

AI visibility tracking

Learn more

Agentic commerce checklist

Read the guide

Sources