How do I see ChatGPT and Perplexity visits in GA4 for my Shopify store?

How to Track AI Traffic in Google Analytics. A Visibility Mesh guide for ecommerce AI visibility.

To see ChatGPT and Perplexity visits in GA4 for a Shopify store, open Reports > Acquisition > Traffic acquisition and read the AI Assistant row, which Google fills with visits from sources like ChatGPT, Gemini, DeepSeek, Copilot and Grok. Perplexity and Claude are not named in that channel, so search Session source for perplexity.ai and claude.ai, and move them into a custom AI channel if GA4 has filed them under Referral.

By Margareta Petrovic, founder of Visibility Mesh. We updated this article on November 9, 2026.

This guide is the setup, click by click, followed by the four things to read each month once the channel is in place. When the visitors arrive, our guide on what to do when AI sends you a visitor covers the page they land on.

How do I connect GA4 to my Shopify store?

Shopify connects GA4 through the Google & YouTube sales channel. You need the editor role on the Google Analytics account, and you do not need Merchant Center to finish the GA4 part.

  1. In Google Analytics, create a GA4 property with a web data stream for your store address, and copy the tag ID that starts with G.
  2. In your Shopify admin, type Google & YouTube in the search bar at the top, open the channel's page in the Shopify App Store and click Install.
  3. Open the Google & YouTube channel, connect your Google account and choose the GA4 property you just created.
  4. Visit your store in a private browser window, then open Reports > Realtime in GA4 and check that your visit appears.

If GA4, Search Console and Merchant Center are all new to you, our guide on connecting GA4, Search Console and Merchant Center to Shopify sets up all three in one sitting.

Where do ChatGPT visits show up in GA4?

GA4 has a default channel called AI Assistant. When the referrer matches Google's list of AI assistants, GA4 sets the medium to ai-assistant and the campaign to (ai-assistant), and the visit lands in that row.

ChatGPT adds utm_source=chatgpt.com to the links it sends from its search results, so GA4 records chatgpt.com as the source, and your job is to keep that tag intact. A redirect that drops everything after the question mark in an address also drops the source.

Google's own AI features are counted differently. Google defines Organic Search as including AI Overviews and AI Mode, so GA4 mixes those clicks with every other Google click. For their impressions, use the Generative AI report in Search Console, which our guide on AI Overviews and AI Mode in Search Console walks through.

Why can I not find Perplexity in GA4?

Google does not name Perplexity or Claude in its AI Assistant definition, and it does not publish the full list behind the channel. You have to look for them yourself.

  1. Open Reports > Acquisition > Traffic acquisition.
  2. Click the dimension name above the first column and change it to Session source.
  3. Type perplexity in the search box, then do the same for claude.
  4. Change the dimension to Session source / medium. If you see perplexity.ai / referral, GA4 has filed those visits under Referral, and the custom channel group below fixes that.

How do I see every assistant in one table?

An exploration gives you one table for all of them, and it takes about five minutes to build.

  1. Click Explore in the left menu and start a Blank exploration.
  2. Add Session source as a dimension, and Sessions and Key events as metrics.
  3. Add a filter where Session source matches regex .*(chatgpt|openai|perplexity|copilot|gemini|claude|deepseek|grok).*
  4. Keep the .* on both ends. Google treats a regular expression as a full match by default, so without them the filter matches only a source that is exactly the word chatgpt, and chatgpt.com slips through.
  5. Name the exploration "AI assistants" so the next person can find it.

How do I build one AI channel for every assistant?

A custom channel group puts every assistant into one row of your standard reports. Google says custom channel groups apply to your reports retroactively, and a standard property can hold 2 of them besides the default group.

  1. Go to Admin > Data display > Channel groups and click Create new channel group. Google starts you with a copy of the default group, so your other channels stay as they are.
  2. In the copy, click the AI Assistant channel to edit it. Google's own rule already covers ChatGPT, Gemini, DeepSeek, Copilot and Grok.
  3. Add an OR condition where Source matches regex, and paste ^(.*\.)?(perplexity\.ai|claude\.ai)$ so Perplexity and Claude join the same row.
  4. Check that AI Assistant sits above Referral in the list. If it does not, click Reorder and drag it up, then save the group.

Google's help page offers its own example pattern for AI assistants. It begins with ^.*ai, which also catches unrelated sites whose addresses end in .ai, so test any pattern against your Session source list before you save it.

What does Shopify's own analytics show?

Shopify keeps its own record, and it works without GA4. Go to Analytics > Reports and open Sessions by referrer, which shows whether visitors came directly, from search or by referral. Shopify's blog article of February 13, 2026 shows the next step.

  1. Open any report in Analytics > Reports.
  2. Click Filters and choose Referrer name for visits, or Order referrer name for sales.
  3. Enter ChatGPT as the value and apply the filter.

ChatGPT can also send buyers straight to your checkout. Shopify's help page for selling on ChatGPT says the shopper pays in your own store checkout, which opens inside ChatGPT's own browser or, on the web, in a new tab. The settings live under Sales channels > Agentic in your admin.

Why do GA4 and Shopify show different numbers?

The two tools count with different rules. GA4 builds sessions from its tag and its channel rules, and Shopify processes its own referrer data. A visit with no referrer and no tag lands in Direct in GA4, and nobody can recover where it came from.

Auditors never accept one ledger without a second record to check it against, and your analytics should get the same check. Once a month, put the AI totals from both tools side by side for the same dates. A gap that stays about the same size is normal. A gap that suddenly grows usually means a tag, a redirect or a consent setting changed, so look there first.

If the two reports ever match exactly, check that one of them is still switched on.

What should I read each month?

Three numbers and one list are enough. In your AI assistants exploration, add Landing page + query string as a second dimension and Engagement rate next to Sessions and Key events, then compare last month with the month before.

  • AI sessions show whether the channel is growing.
  • Engagement rate and key events per session show whether these visitors behave like buyers.
  • The landing page list shows which of your pages assistants were willing to link, which makes it the best evidence you have of what they can read and quote.

Some AI visits arrive with no referrer and land in Direct. In Reports > Engagement > Landing page, filter for the Direct channel and look for long guides and single products near the top. Nobody types those addresses by hand very often, so a page that also appears on your AI list is probably being opened from an answer.

Where does a candle shop find its Perplexity visits in GA4?

Take a candle shop on Shopify with about 60 products. The owner opens Traffic acquisition and finds an AI Assistant row with chatgpt.com in it. Switching the dimension to Session source / medium shows perplexity.ai / referral further down the list, outside the AI row. She adds perplexity.ai to the AI Assistant channel in her custom group, and the Perplexity visits move into the same row as ChatGPT for every past month as well. In Shopify she filters Order referrer name by ChatGPT and sees which of those visits became orders.

Why is my AI traffic so small?

Many shoppers get what they need from the answer and never click. Others search your name later, and that visit shows up as Direct or Organic Search. Read the trend over a quarter, not one month.

A small number can also mean the assistants rarely reach your pages at all. GA4 only counts people who clicked through, so it cannot tell you whether an AI crawler could read the page in the first place. In our June 2026 study of 216 Shopify storefronts, 41% failed Front Door, our most basic test of whether an AI crawler can read the page. Our guide on whether AI crawlers can get into your store shows how to check yours.

Questions owners ask

Does GA4 have an AI channel built in?

GA4 has an AI Assistant default channel for visitors from sources like ChatGPT, Gemini, DeepSeek, Copilot or Grok. Google's AI Overviews and AI Mode are not in it, because Google counts them as Organic Search.

How do I track Perplexity traffic in GA4?

Open Reports > Acquisition > Traffic acquisition, set the dimension to Session source and search for perplexity. If the visits sit under Referral, add perplexity.ai to the AI Assistant channel in a custom channel group.

What does utm_source=chatgpt.com mean?

It means the visit came from a link in ChatGPT search. OpenAI adds the tag to its referral links automatically, so keep it, and make sure your redirects do not strip it.

Can GA4 separate AI Overviews clicks from normal Google clicks?

GA4 cannot separate them, because Google defines Organic Search as including AI Overviews and AI Mode. The Generative AI report in Search Console shows their impressions instead.

Can I see AI traffic in Shopify without GA4?

You can. In Analytics > Reports, open any report, click Filters, choose Referrer name or Order referrer name and enter ChatGPT, which shows visits and orders from ChatGPT.

Why does ChatGPT traffic show up as Direct?

GA4 files a visit under Direct when it arrives with no referrer and no tag. That happens when someone copies a link out of an answer, or when a redirect on your store drops the utm tag.

Sources

We opened every source below on November 9, 2026.

GA4 counts the visitors who arrived, and it cannot show whether AI crawlers could read your store first. The free scan checks that on 5 of your key pages and emails you a 0 to 100 score with a fix list, with no card needed.

See whether this applies to your site

The free scan reads your own pages and shows which of these problems it finds on your site.

The free Visibility Mesh scan checks whether AI crawlers can reach your website and reads the structured data and text of 5 key pages. The scorecard has 3 complete findings, and each one names the page and the fix. No install, no call, no card.

Run the free scan