Decoding AI Shoppers: How to Tell if AI is Sending Traffic to Your Shopify Store

Hey folks! As a Shopify migration expert, I spend a lot of time poring over store data and, more importantly, listening to what real store owners are discussing in the community. Lately, one topic keeps popping up: "Would you know if an AI shopper bought from your store?" It's a fascinating question, and a recent thread on the Shopify community forum, started by YangW_Stabile, really dug into the nitty-gritty. I wanted to share some of the brilliant insights that came out of that discussion, because it's something every merchant needs to be thinking about.

AI Referral vs. AI Agent: The Crucial Distinction

The biggest takeaway, and something almost everyone in the thread agreed on, is that we need to make a clear distinction between two very different scenarios:

  1. An AI assistant referred a shopper: This means a human user asked an AI (like ChatGPT, Gemini, or Copilot) for product recommendations, and the AI provided a link to your store. The human then clicked that link and made a purchase.
  2. An AI agent actually completed the checkout: This implies an AI bot, acting autonomously, navigated your store, added items to a cart, and completed the purchase process without human intervention.

As @YangW_Stabile, @SamanthaB2, and @Robert_Dainowski all pointed out, most of what we're seeing right now is the first scenario. Orders that appear to be AI-driven are almost always cases where an AI referred a human, not where an AI bot did the shopping itself. This distinction is vital for accurate attribution.

Common Traps: What NOT to Trust for AI Attribution

The community thread highlighted some common mistakes merchants (and even data analysts) can make when trying to identify AI-driven traffic. Avoiding these will save you a lot of headaches:

1. Don't Rely on Checkout URL Parameters Alone

It's tempting to think if you add utm_source=chatgpt.com to a checkout URL, you're golden. But as @YangW_Stabile learned the hard way, if that's not on the first landing page, Shopify might not capture it as the originating source. The order webhook could still report Landing: / and Referring: none. For accurate tracking, the AI source needs to be present when the session starts.

2. URL Shape is Not Evidence

Ever seen a `/cart/c/` permalink with a weird numeric source and thought, "Aha! An AI bot!"? Turns out, you're likely wrong. Many legitimate apps, like abandoned cart recovery tools or Etsy integrations, can generate similar-looking URLs. @YangW_Stabile found that many "agentic-looking" orders were actually from Shopify's own Shop app or an Etsy integration. Don't jump to conclusions based on URL structure alone.

3. Avoid Substring Matching

This one's a classic. If you're looking for chatgpt in the whole URL, a campaign named spring_chatgpt_test will get flagged as an AI referral. This leads to false positives and muddy data. As @clickfromai and @Robert_Dainowski emphasized, you need to match only where the origin is declared and exact.

How to Reliably Track AI-Referred Demand

So, if those are the pitfalls, what does work? The community shared some solid, actionable strategies:

1. Standardize Your AI Links with UTMs

This is foundational. When you expect AI to refer traffic, make sure the links it generates (or that you provide to AI services) include proper UTM parameters. Use utm_source, utm_medium, and utm_campaign on the first product or collection URL. For example:

yourstore.com/products/your-product?utm_source=chatgpt.com&utm_medium=ai_referral&utm_campaign=ai_assist_traffic

2. Trust Declared Originators

@Robert_Dainowski provided a great hierarchy of trust for identifying AI referrals:

  • Most Trusted: Referring Hostname: Look for exact matches like chat.openai.com, chatgpt.com, copilot.microsoft.com, or gemini.google.com.
  • Next Best: Exact utm_source Value: Check the utm_source value on the first landing URL for exact matches like chatgpt.com.
  • Use with Caution: Order's source_name/app id: While Shopify records this, it needs careful verification as other integrations can produce similar IDs.

3. Leverage Shopify's Built-in Data

Don't forget that Shopify itself provides valuable attribution data! As @ecom-4all pointed out, "Shopify keeps the converting session’s landing page and referrer on the order record." Open any order in your Admin, and you can see the conversion summary, including the utm_source that came in on the first landing URL. It's a great place to cross-reference data from your webhooks or other analytics tools.

Putting it to the Test: Your Action Plan

Here's a simple test matrix, inspired by the community's insights, to verify your AI attribution:

  1. Set up a Test Link: Create a product or collection URL with specific UTMs for an AI source (e.g., utm_source=my_ai_test).
  2. Simulate an AI Referral: Open an incognito window in your browser. Paste that exact, tagged URL directly into the address bar and hit enter. This simulates a clean, first landing page visit.
  3. Complete a Test Order: Go through your normal checkout process and complete a small test order.
  4. Check Shopify Admin: Once the order is placed, go to your Shopify Admin, open that test order, and review its "Conversion summary." Does it show your utm_source=my_ai_test? Does the landing page reflect your tagged URL?
  5. Save Raw Data: For ongoing tracking, ensure you're saving the raw landing URL, referrer, source_name, and app ID for each order before any custom tags or rules are applied. This gives you the original data to audit against.

The Elusive AI Agent Checkout: A Different Challenge

What about proving an AI agent actually completes a checkout? The consensus from the thread, particularly from @Robert_Dainowski, is that you can't really read this off orders. Why? Because the ones that fail never become orders! The only reliable way to measure this is to intentionally send an AI agent through your store's checkout process and observe where it succeeds or, more likely, where it stops. This is a separate measurement from attribution and should be tracked distinctly.

Understanding these nuances of AI attribution is going to become increasingly important for every Shopify merchant. By being proactive with your UTMs, carefully scrutinizing your data, and avoiding common misattributions, you'll be much better equipped to understand where your traffic is truly coming from and how AI is influencing your customer journey. It's an exciting new frontier for e-commerce, and staying on top of these tracking methods will give you a real edge. If you're looking to start your own online store and put these tracking methods into practice, Shopify makes it incredibly easy to get started.

Share:

Use cases

Explore use cases

Agencies, store owners, enterprise — find the migration path that fits.

Explore use cases