How Do I Track AI-Shopping Traffic and Tie It to Orders and Revenue?
Track ChatGPT and other AI-shopping referrals in GA4 and Shopify, connect sessions to orders and revenue, and avoid common attribution mistakes.
Tarun Babbar
To track AI-shopping traffic, use three reports: Google Analytics 4's AI Assistant channel for visits and revenue, Shopify's agentic storefronts page for orders from AI channels, and Search Console's Generative AI report for Google's AI features. Together they give you a floor, not a total, because some AI orders never touch GA4 and some AI influence never produces a click.
Adobe's July 2026 data, drawn from more than one trillion visits to US retail sites, found that AI-referred shoppers converted 60% better than everyone else (Adobe). The ecommerce teams we speak with already believe AI search matters; what they lack is a way to see it in the reports they open every Monday.
Key takeaways
ChatGPT tags its outbound links with
utm_source=chatgpt.com, and GA4 now has a default channel for AI assistants.Shopify counts more AI orders than GA4, because some are placed inside the AI and never load your site.
Clicks from Google's AI Overviews and AI Mode sit inside ordinary organic traffic.
Report identifiable AI revenue as a floor, and keep modeled estimates in a separate row.
Where does AI-shopping traffic show up in your analytics?
Each route out of an AI ends in a different report. As of October 2026:
How the shopper arrives | Where you see it | What the platform documents |
|---|---|---|
Clicks a link in ChatGPT | GA4 AI Assistant channel; Shopify order referrer | ChatGPT "automatically includes the UTM parameter |
Clicks a link in Gemini, Copilot, DeepSeek or Grok | GA4 AI Assistant channel | Google gives these as examples ("sources like"), not as a full list |
Clicks a link in Perplexity | GA4 session source; check which channel it lands in | Not named in Google's AI Assistant definition |
Clicks a result in AI Overviews or AI Mode | GA4 organic search, mixed with other Google clicks | Search Console counts these clicks in the Web search type |
Buys inside Copilot, AI Mode, Gemini or Meta with direct checkout on | Shopify admin; for Copilot, not in GA4 unless you forward the order server-side | Copilot's direct checkout fires only server-to-server pixels |
Opens an AI link in an app that passes no referrer and no tag | GA4 Direct (ChatGPT links keep their tag in the URL, so they should not land here) | Direct means no clear referral source |
Sources: OpenAI Help Center, Google Analytics Help, Google Search Central, Shopify Help Center, Google Analytics Help.
One prerequisite comes first. OpenAI ties ChatGPT referral tracking to letting OAI-SearchBot crawl your pages, so a store that blocks it has little to measure (see llms.txt vs robots.txt).
How do you set up GA4 to track AI-shopping traffic?
Start with the default channel, add a custom group for what it misses, then follow sessions to purchases.
Find the AI Assistant row. In Reports, open Acquisition and then Traffic acquisition, with Session default channel group as the dimension. Google defines the channel as visits "from sources like ChatGPT, Gemini, Deepseek, Copilot, or Grok" (Google Analytics Help). Change the dimension to Session source / medium to split the row by assistant, and keep that raw source under any rolled-up AI line.
Build a custom channel group. Under Admin and Data display, create a group with an AI channel whose source matches a pattern such as
chatgpt\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai|deepseek\.com|grok\.com. Test it against your own source list, since a short term likeaiwould also catch unrelated sources. Rank the AI channel above Referral, because each session lands in the first channel it matches; a standard property allows two custom groups, and they apply to past data too (Google Analytics Help).Check the landing pages. Open the Landing page report, add the secondary dimension Session source / medium, and filter to your AI sources (Google Analytics Help). A buying guide that draws 600 AI sessions and passes almost none to a product page plays a different role from a product page with 40 AI sessions and two orders.
Follow sessions to purchases. If your store sends GA4's recommended ecommerce events, from
view_itemandadd_to_cartthroughbegin_checkouttopurchasewith atransaction_id, build a funnel exploration filtered to the AI channel (Google for Developers). Compare its conversion rate and revenue per session with organic search, not with the store average.
How do you see orders from AI channels in Shopify?
Shopify gave agentic storefronts their own admin page in May 2026, with performance across AI channels such as ChatGPT, Shop and Copilot (Shopify changelog). The feature is "active by default for eligible stores," and orders from AI channels "display in your Shopify admin with channel or referrer attribution" (Shopify Help Center).
ChatGPT acts as a referrer: the shopper clicks through and pays on your own checkout, so both GA4 and Shopify record the visit. Google AI Mode and Gemini, Microsoft Copilot and Meta can let the shopper pay without leaving the chat when direct checkout is switched on. For Copilot, Shopify states that Google Analytics and custom pixels do not fire in that checkout, so those orders appear in Shopify and reach GA4 only if you forward them server-side.
Expect Shopify to count more AI orders than GA4. GA4 credits a purchase only when its browser tag fires in a session with an AI source, which can fail when a shopper declines tracking or blocks the tag; Shopify attributes the order itself, including in-chat checkouts. Report order counts from Shopify and use GA4 for the path to purchase.
Shopify also changed how it counts sessions from September 21, 2026, keeping journeys without a standard pageview and setting bot traffic apart, and it tells merchants to treat later data "as a new baseline for session-based metrics" (Shopify changelog). An AI conversion rate that jumps in October may reflect the counting change rather than the channel.
How do you measure Google AI Overviews and AI Mode?
You can measure impressions, but not clicks on their own. Search Console's Generative AI report shows how often your pages appeared in AI Overviews and AI Mode, and it reached every site by August 31, 2026 (Search Console Help). Clicks from those features count as ordinary Google Search clicks, so read the impression trend for your product and category pages next to organic clicks on the same pages.
What can AI traffic data not tell you?
These reports see visits and orders that carry an identifiable AI source, and they miss five things. Visits from apps that pass no referrer or tag land in Direct, next to bookmarks and typed URLs, so Direct is not hidden AI traffic. Recommendations that never earn a click leave no trace.
A product the AI recommends but sends to Amazon is a merchant loss your store never records; our guide to why AI recommends a competitor's product treats routing as its own problem. A shopper who researches in ChatGPT and returns days later through a Google search is credited to search. And some AI-referred buyers would have bought anyway.
How should you report AI orders and revenue?
Report two measured rows and keep any modeled estimate apart from both. AI-attributed revenue is revenue from orders placed in sessions with an identifiable AI source. Orders placed through an AI channel's own checkout have no session, so report them from Shopify in a second measured row labeled in-chat checkout. AI-assisted revenue (modeled) estimates influence beyond both rows, always names its method, and is never added to them.
Take a fictional sunscreen brand reviewing September. Shopify's agentic page shows 47 orders from AI channels: 39 after a click to the site and eight placed inside Copilot, at a $40 average order. GA4 shows 1,200 AI Assistant sessions and 36 purchases, a 3.0% session conversion rate; the three-order gap is most likely purchases the browser tag did not record.
The leadership line reads: "AI channels produced 47 identifiable orders and $1,880 in September: 39 orders ($1,560) after a site visit and eight ($320) through Copilot checkout." Reporting "AI generated $1,440 of revenue" from GA4 alone would undercount the orders and claim influence nobody measured. For which of these numbers earn a place on a scorecard, see which AI-shopping KPIs to track.
What you see | Likely cause | First check |
|---|---|---|
Hardly any ChatGPT sessions | ChatGPT cannot crawl your pages, or does not cite them | Crawler rules in our llms.txt vs robots.txt guide; chatgpt.com in your session sources |
AI sources filed under Referral | Channel order, or a source your pattern lacks | Move the AI channel above Referral; extend the pattern |
AI orders in Shopify with no GA4 match | In-chat checkout, or purchases the browser tag missed | The agentic storefronts page and each order's attribution |
AI sessions but very few orders | Shoppers enter on guides, or product pages show price and stock gaps | Landing page report filtered to AI sources |
AI orders flat while AI answers name your product | Merchant loss: the AI routes buyers to another seller | Which seller each answer links to |
How does Gravton connect AI traffic to what AI recommended?
Every row in your GA4 and Shopify reports starts after the AI has chosen what to show. Gravton's free audit covers that choice with a Demand Snapshot of where your products appear or go missing across the AI engines your buyers use, which rivals and sources take those answers, and which fixes come first. Set beside your reports, it separates a traffic problem you can fix in GA4 from a recommendation problem no analytics setup will show. Measurement tracks how often your brand and products are recommended, how your share changes each week, and which improvements made a difference.
Get your free AI visibility audit and see the recommendations behind your AI traffic.
Frequently asked questions
Can I see which question a shopper asked ChatGPT before visiting?
No. The referral carries the source, such as chatgpt.com, and the page the shopper landed on, but not the conversation. None of the platforms in this guide publishes the prompts its users type. You can infer intent from landing pages and products viewed, and you can study the questions themselves by running a fixed set of shopper questions on each engine.
Do I need server-side tracking for orders placed inside an AI?
Only if you want those orders in GA4. Shopify's order records are the source of truth for in-chat checkouts, because no browser tag runs there. Forward the orders through a server-side integration if your reporting lives in GA4; otherwise report them from Shopify and label the row in-chat checkout so nobody adds it twice.
Is AI traffic worth tracking if it is under 1% of our sessions?
Yes. Adobe found that AI-referred visits to US retail sites brought 53% more revenue per visit than other visits in July 2026, so a small channel can carry more revenue than its session share suggests. The setup takes an afternoon and gives you a baseline early.
How often should we report AI-shopping traffic?
Weekly for sessions and landing pages, monthly for orders and revenue. At 47 orders a month, as in the example above, a week holds about 11, too few to read, and one large order can swing it. Annotate any week with a platform change, such as a new GA4 channel or Shopify's session update, so a jump is not credited to your own work.
What should you read next?
Which AI-Shopping KPIs Should an Ecommerce Team Track? covers the scorecard these numbers feed.
Which AI Shopping Engines Matter? compares how each engine finds and sells products.
llms.txt vs robots.txt for Ecommerce covers the crawler access ChatGPT referrals depend on.
What Is Generative Engine Optimization for Ecommerce? walks from shopper question to buy link.
Sources
Adobe Digital Insights. "AI Traffic Trends Report." August 19, 2026 (July 2026 data).
OpenAI Help Center. "Publishers and Developers FAQ." Accessed October 23, 2026.
Google Analytics Help. "Default channel group." Accessed October 22, 2026.
Google Analytics Help. "Custom channel groups." Accessed October 23, 2026.
Google Analytics Help. "Landing page report." Accessed October 23, 2026.
Google for Developers. "Measure ecommerce." Accessed October 23, 2026.
Google Analytics Help. "Traffic-source dimensions." Accessed October 23, 2026.
Shopify Help Center. "Agentic storefronts" and "AI channels with built-in checkout." Accessed October 23, 2026.
Shopify. "A new home for agentic storefronts in your admin." May 11, 2026.
Shopify. "Shopify Analytics session measurement improvements." September 21, 2026.
Search Console Help. "Generative AI performance report." Accessed October 22, 2026.
Google Search Central. "AI features and your website." Updated December 10, 2025; recheck quarterly.
Related resources
Continue with these related Gravton resources:
