How to Track AI Traffic and Revenue in Shopify and GA4

Published October 27, 2026

Key takeaways

  • GA4's AI Assistant channel, Shopify's agentic reports and Search Console's Generative AI report each see a different slice of AI activity.
  • Shopify records in-chat checkout orders that GA4 cannot see, so expect Shopify to show more AI revenue than GA4.
  • Report each source on its own line every month, and never add them together.

GA4 added a channel for AI assistants in May 2026, Shopify reports sales by AI channel, and since August 2026 Search Console counts impressions in AI Overviews and AI Mode for every site. Three tools now report AI activity, and they rarely agree. That is expected, because each one sees a different part of the path from an AI answer to an order.

This guide shows how to set up each tool for a Shopify store, how to read them together, and what none of them can measure yet. Platform details are as of 22 October 2026.

Three unmarked brass dials on a workshop wall, each needle at a different level.
Brass gauges hung on a whitewashed brick wall.

How do you track ChatGPT and other AI assistant traffic in Shopify and GA4?

To track AI assistant traffic and orders, use GA4's AI Assistant channel for referral visits, the Shopify admin and ShopifyQL for AI-channel sales including in-chat checkout, and Search Console's Generative AI report for impressions in Google's AI features.

Tool What it sees What it misses
GA4 AI Assistant channel Visits referred by named assistants such as ChatGPT, Gemini and Copilot, and the purchases that follow Google AI Overviews and AI Mode, visits with no referrer, in-chat checkout orders
Shopify agentic report and ShopifyQL Sales, orders and sessions by AI channel, including orders placed inside Google AI Mode, Gemini and Copilot Perplexity and Claude in the agentic fields, headless stores
Search Console Generative AI report Impressions in AI Overviews and AI Mode, by page Clicks, queries and revenue

Each tool answers a different question, so read them side by side rather than looking for one true number.

Set up GA4

GA4 added the AI Assistant channel to its default channel group on 13 May 2026, so the first step is checking that it is populating.

Open Reports, then Acquisition, then Traffic acquisition, and look for AI Assistant in the channel list. Google says the channel covers visits from sources like ChatGPT, Gemini, Deepseek, Copilot, or Grok and gives matching sessions the medium "ai-assistant". It also states that Google's own AI Overviews and AI Mode are counted as Organic Search.

Google does not publish the full list of assistants or say whether the channel applies to data from before it reached a property. These checks cover the gaps.

  • Perplexity and Claude. Google's help page names neither, though its May launch note gives Claude as an example. Add the Session source group dimension, which Google introduced in June 2026 with built-in grouping for sources such as ChatGPT and Perplexity, or filter session source for perplexity.ai and claude.ai.
  • Older data. A custom channel group applies to reports retroactively. A standard property allows two, each starting as a copy of the default group. Add an AI channel matched on session source, test the pattern against your real source list, and place it above Referral, since traffic goes to the first channel it matches.

Then build the views that matter for revenue. Create an exploration with session default channel group, landing page and purchase revenue, filtered to AI Assistant. The landing page view is where AI traffic becomes actionable, because it shows which products and guides assistants send people to.

ChatGPT is easier to track than most. OpenAI's publisher FAQ says ChatGPT adds utm_source=chatgpt.com to links in its search results. Visits where someone copies a link or opens it from an app can still arrive with no source and land in Direct.

Read the Shopify reports

In the Shopify admin, Sales channels, then Agentic, shows sales, orders, sessions and conversion for ChatGPT, Microsoft Copilot, Google AI Mode and Gemini, Meta and Shop, with a default range of the last 30 days. Shopify says sales here add together referral sales and orders placed through in-chat checkout, and the report is not available for headless stores.

The standard Sessions by referrer report has no AI category, so ShopifyQL is the way to go further. Its sessions and sales schemas include an agentic_referring_channel field, with values for ChatGPT, Google AI Mode and Gemini, Microsoft Copilot and Shop, and the sales schema adds a field for the AI channel that facilitated a sale. Perplexity and Claude are not among the values, so filter those by referrer domain or UTM source instead. Test any query on your own store before relying on it.

One change affects trends. Shopify changed how it counts sessions between 21 and 23 September 2026, and says to use data from after the update as the new baseline for session-based metrics. Orders and sales are not affected.

Two paper ledgers lying open side by side on a desk, their columns faint and unreadable.
Two empty ruled ledgers with a pencil between them.

Reconcile GA4 and Shopify

Shopify will usually show more AI orders than GA4, and the gap has known causes.

The largest is in-chat checkout. Shopify states that Google Analytics and custom pixels won't fire in Google AI Mode and Gemini's direct checkout, so those orders exist only in Shopify. ChatGPT buyers finish on the store's own checkout in an in-app browser, and Shopify does not document how pixels behave there.

Shopify lists the other usual reasons in its discrepancies guide. Google counts only visitors with JavaScript and cookies on, browser extensions can block it, time zones differ, and the two tools define sessions differently. GA4 also credits a sale by its attribution model, which can give an order to a later visit from email or paid search.

Treat Shopify as the record of AI orders and GA4 as the record of AI visits and behavior. Note the gap each month; a sudden change in it usually means a tracking problem.

Connect AI visibility to revenue

No tool links a single prompt to an order, so connect them through pages.

  1. Run a fixed set of buyer prompts monthly and note which of your pages are cited.
  2. Check the same pages in GA4 for AI Assistant sessions and in Search Console's Generative AI report, which Google rolled out to all sites by 31 August 2026 and which shows impressions but not clicks or queries.
  3. Read orders and revenue for those landing pages.
  4. Add AI assistants as an option in a post-purchase "How did you hear about us?" question to catch what referrers miss. One brand, Loftie, told Modern Retail that such answers rose from about 1.5% to 3% of responses within six months.

This shows correlation, not proof that a mention caused a sale. The prompt method itself is explained in how to measure a DTC brand's AI search visibility.

What you cannot track yet

Some AI activity still has no reliable measure.

  • Clicks from AI Overviews and AI Mode, which GA4 counts as organic and Search Console reports only as impressions.
  • Visits from copied links and some apps, which arrive with no referrer and count as direct.
  • The prompts behind any AI visit.
  • Pixel events inside in-chat checkout on Google and Copilot, which Shopify documents, and on Meta, which it does not document.

Measured AI revenue is therefore a floor. How much revenue AI search drives for ecommerce shows how small the published shares are and how much the adjustments change them.

A monthly report template

Line Source Metric
AI visits GA4, AI Assistant channel plus Perplexity and Claude Sessions, engaged sessions, purchase revenue
AI orders Shopify agentic report Orders, sales, conversion by channel
AI impressions Search Console Generative AI report Impressions by page
Mentions Prompt set Share of answers naming the brand
Shopping visibility Merchant Center AI performance insights Share of voice in AI Mode and AI Overviews
Self-reported Post-purchase survey Share of buyers naming an AI assistant

Mark late September 2026 on any session-based trend, since Shopify's counting change makes earlier conversion rates incomparable.

AI revenue is only as clear as the monthly reconciliation

We are a performance marketing and AI search agency, and on Shopify accounts our measurement starts with getting GA4 and Shopify to explain the same AI orders.

  • Your monthly report shows revenue, margin and new customers from your store's data.
  • Each month we track contribution margin and customer acquisition cost with our fee included.
  • Every quarter a holdout test shows what each channel really adds.

Get a clear picture of where your store is losing revenue, what to stop now and which actions to take first with our DTC Growth Audit.

DTC Growth Audit

Frequently asked questions

Does GA4's AI Assistant channel include Perplexity?

Google's channel description gives ChatGPT, Gemini, Deepseek, Copilot and Grok as examples, without Perplexity. Check session source for perplexity.ai, or add it to a custom channel group.

Why does Shopify show more AI orders than GA4?

Orders placed through in-chat checkout in Google AI Mode, Gemini and Copilot do not fire GA4, so only Shopify records them. Cookie consent, ad blockers and attribution rules widen the gap.

Can Search Console show clicks from AI Overviews?

No. The Generative AI report shows impressions in AI Overviews and AI Mode, and Google says it may add metrics over time.

Mike Le

Mike Le

Co-Founder, CB/I Digital and Conative AI

Mike Le co-founded CB/I Digital in New York in 2007 and has helped brands grow through search, paid media and data ever since. He started the agency's AI team in 2019 and later started Conative AI. He writes about how customers find and choose brands now that AI answers sit between them and the search results.

Follow Mike on LinkedIn
Tags:

Copyright © 2026 CB/I DIGITAL INC. All rights reserved | Privacy Policy