How to Set Up UTM Tracking for Shopify Agentic Commerce Traffic

Tracking agentic commerce traffic in Shopify requires understanding how different AI shopping platforms send users to your store, then tagging or filtering those entry points consistently in GA4. Some platforms append UTM parameters automatically; others send untagged referral traffic; others drive traffic through links that strip UTM parameters. Knowing which is which is the first step to measuring your AI commerce channel accurately.

Here is how to set up tracking that works.

Key Takeaways

- GA4 referral traffic from chat.openai.com, perplexity.ai, and bing.com is your primary current proxy for AI-originated traffic

- UTM parameters on Shopify product page URLs are stripped during some redirect flows; place UTMs on landing pages, not directly on checkout URLs

- Google Analytics 4's channel grouping rules do not natively classify AI referrals; you need a custom channel group to isolate this traffic

- Google Shopping (Merchant Center) traffic arrives via google.com with utm_medium=organic or Shopping-specific parameters -- AI mode traffic from Merchant Center blends with regular Shopping traffic without custom segmentation

- Set up a GA4 custom channel group now, even if AI traffic volume is low; the data is more useful when you have historical segments to compare

The Challenge: AI Traffic Does Not Tag Itself

Traditional paid advertising platforms (Google Ads, Meta) pass UTM parameters automatically or through integration. AI shopping platforms generally do not have a standardised UTM convention.

When ChatGPT or Perplexity recommends your product and a user clicks through, the referral typically arrives as:

  • A direct referral from chat.openai.com or openai.com
  • A referral from perplexity.ai
  • A referral from bing.com (ChatGPT web search)
  • An organic Google result (Google AI mode clicks blend with organic search)

None of these come with standard UTM parameters indicating they originated from an AI recommendation. Without custom segmentation, AI-originated traffic gets buried in your referral or organic traffic buckets.

Step 1: Identify Your AI Referral Sources

Before setting up tracking, audit where AI-originated traffic currently comes from in GA4.

In GA4:

  1. Navigate to Reports > Acquisition > Traffic Acquisition
  2. Set the primary dimension to "Session source / medium"
  3. Filter for:
    • chat.openai.com / referral
    • openai.com / referral
    • perplexity.ai / referral
    • copilot.microsoft.com / referral
    • gemini.google.com / referral
    • Check the date range for the last 90 days

If you see traffic from these sources, your store is being discovered and linked to by AI platforms. If volume is very low or zero, your store may not yet be appearing in AI recommendations, or the traffic exists but is below GA4's sampling threshold.

Also check Bing referral traffic:

  • bing.com / organic includes ChatGPT web search referrals that come via Bing's search results
  • This traffic cannot easily be separated from organic Bing traffic without additional tooling

Step 2: Create a Custom Channel Group for AI Traffic

GA4's default channel groupings do not have an "AI" or "Generative AI" category. Creating a custom channel group lets you see AI-originated traffic as a unified segment.

How to create a custom channel group in GA4:

  1. Go to Admin > Data Display > Channel Groups
  2. Click "Create new channel group"
  3. Name it "AI Commerce"
  4. Add channel rules:
    • Rule 1: Source contains openai.com OR chat.openai.com
    • Rule 2: Source contains perplexity.ai
    • Rule 3: Source contains copilot.microsoft.com
    • Rule 4: Source contains gemini.google.com
    • Rule 5: Source contains claude.ai
    • (Add additional AI tools as they emerge)
    • Save the channel group

This custom group will appear in your Acquisition reports and allow you to see AI-channel performance separately from other referral traffic.

Note: This does not capture AI traffic that arrives via Google organic or Bing organic paths (where the AI recommendation links to a search result that links to you). Those paths are not currently distinguishable without AI platform-specific UTMs.

Step 3: Create UTM-Tagged Landing Pages for Controllable AI Paths

Some AI commerce paths allow merchant-controlled UTM tagging:

Google Shopping links from Merchant Center: When Google's Shopping integration links to your product pages, you can configure UTM parameters at the feed level. In your Merchant Center feed, append UTM parameters to product URLs:

`

https://yourstore.com/products/product-name?utm_source=google&utm_medium=ai_shopping&utm_campaign=merchant_center

`

This requires adding UTM parameters to your Shopify Google & YouTube sales channel configuration or your product feed directly.

Bing Shopping / Microsoft Advertising: If your products appear in Bing Shopping (separate from organic), UTM parameters can be configured in Microsoft Advertising.

Direct linking in AI tool conversations: If you are creating content that links to your products (blog posts, press coverage) and those links are indexed by AI tools, ensure your links include UTM parameters:

`

https://yourstore.com/products/product-name?utm_source=content&utm_medium=ai_discovery&utm_campaign=blog_name

`

When an AI tool crawls a page that links to your product with UTMs and then presents that link to a user, the UTMs pass through.

Step 4: Configure Google Merchant Center UTM Parameters

This is the most impactful UTM setup for AI commerce tracking because Merchant Center is the primary data source for Google AI mode shopping results.

In Google Merchant Center:

  1. Go to your Merchant Center account
  2. Navigate to Marketing > UTM Parameters (or Conversions)
  3. Set the UTM source as google and medium as shopping_ai or similar
  4. Some Merchant Center configurations allow custom UTM appending per product

Alternatively, update your product feed URLs directly:

In your Shopify Google & YouTube channel settings, or your custom Merchant Center feed, update the link attribute for products to include UTM parameters:

`

https://yourstore.com/products/product-name?utm_source=google_mc&utm_medium=shopping&utm_campaign=ai_visibility

`

This method ensures any click from Google's Shopping Graph (including AI mode) arrives with identifiable UTM parameters in GA4.

Step 5: Monitor Referral Traffic from AI Platforms

Set up a saved report in GA4 that tracks AI referral performance monthly:

Report configuration:

  • Dimension: Session source
  • Metrics: Sessions, Engaged sessions, Conversions, Revenue
  • Filter: Source in [chat.openai.com, openai.com, perplexity.ai, copilot.microsoft.com, gemini.google.com]
  • Date comparison: Month-over-month

This report gives you a clear view of absolute AI channel performance and growth trend.

Also set up a GA4 Exploration report for deeper analysis:

  • Segment: Sessions where source contains AI platform domains
  • Breakdown: Landing page, device category, conversion event
  • This reveals which products are being recommended by AI platforms and what device types AI-referred users use (mobile vs desktop)

Shopify-Specific Considerations

UTM parameters and Shopify checkout: UTM parameters on product page URLs are retained through Shopify's cart and checkout flow and are passed to GA4 as session source data. However, Shopify's checkout is hosted on checkout.shopify.com -- ensure your GA4 configuration includes the checkout domain as a cross-domain tracking domain to avoid losing session attribution at checkout.

UTM stripping: Some AI platforms strip UTM parameters from outbound links for privacy or simplicity. This is platform-dependent and not controllable by merchants. This is why the GA4 referral domain method remains important alongside UTM tagging.

Shopify Analytics vs GA4: Shopify's native Analytics does not have the custom channel grouping capability of GA4. For AI commerce tracking, GA4 is the required tool.

What to Expect in Terms of Data Volume

In 2026, most Shopify stores in the SMB range will see AI platform referral traffic that is a small fraction of overall traffic. Do not expect large numbers immediately. What matters is:

  1. Whether the traffic exists at all (confirms AI visibility)
  2. How it converts compared to other referral sources (indicates purchase intent quality)
  3. Whether it is growing month-over-month (indicates channel trajectory)

AI-referred traffic from platforms like Perplexity and ChatGPT often shows higher commercial intent (users arriving with a specific query in mind) and can convert at rates comparable to or exceeding Google Shopping traffic when the landing page and product match the query.

Frequently Asked Questions

Can I see which specific AI queries sent traffic to my store?

Not directly via GA4. AI platforms do not pass query data in the same way Google passes organic search queries to Search Console. You can see the landing page and referral source, but not the specific query.

Does Shopify's built-in analytics track AI referrals?

Shopify Analytics shows referral traffic by source, which includes AI platform domains. But it lacks the custom channel grouping, exploration, and segmentation capabilities needed for meaningful AI commerce analysis.

What about dark traffic (AI traffic that shows as direct)?

Some AI platform links arrive as direct traffic in GA4 if the referring platform does not pass a referrer header. This is a real attribution gap. The GA4 referral method captures what it can; some AI traffic will remain unattributable.

Should I tag my Merchant Center feed links with UTMs even if I am not using Shopping ads?

Yes. Merchant Center powers organic Shopping results and AI mode product results, not just ads. UTM tagging on feed URLs provides attribution data regardless of whether you are running paid Shopping campaigns.

How often should I review my AI traffic report?

Monthly is appropriate for now. As volumes grow, weekly monitoring becomes worthwhile. At current volumes, daily monitoring provides data without statistical meaning.

Build the Tracking Layer Now

The AI commerce channel is small now and growing. Building the tracking infrastructure when volumes are low means you will have clean historical data when volumes become significant. Retroactively attributing AI traffic after the fact is not possible.

The setup -- GA4 custom channel group, Merchant Center UTM parameters, and referral domain monitoring -- takes a few hours. Do it now.

For help implementing Shopify analytics setup including AI traffic tracking as part of broader store growth, our Growth Retainer covers analytics configuration alongside ongoing optimisation.

Talk to us about your Shopify analytics setup

Meta Title: UTM Tracking for Shopify Agentic Commerce Traffic | BoltRamp

Meta Description: How to set up UTM tracking and GA4 custom channel groups to measure AI shopping agent traffic to your Shopify store.

Primary Keyword: UTM tracking Shopify agentic commerce traffic

Secondary Keywords: Shopify AI traffic tracking, GA4 AI shopping, agentic commerce analytics Shopify

URL Slug: /blog/utm-tracking-shopify-agentic-traffic

Word Count: ~1,600

Ready to take action?

Fixed price, no surprises. Order directly or get in touch.

See the service Get in touch