AI visibility
How to track traffic from ChatGPT, Gemini and Perplexity on Shopify
As conversational AI becomes a primary search interface, Shopify store owners are seeing a shift in how customers discover products. Traditional referral data often masks these visits, making it difficult to attribute sales to platforms like ChatGPT, Gemini, and Perplexity.
Want to see which of these issues your own store has? The scan is free.
Scan my store freeUnderstanding the Shift to Generative Engine Optimization (GEO)
The way users find products is evolving from keyword-based searches to intent-based conversations. When a user asks ChatGPT for 'the best eco-friendly yoga mats on Shopify,' the AI synthesizes information from crawled data to provide a recommendation. This shift requires a new approach to tracking: Generative Engine Optimization (GEO). Unlike traditional SEO, where you rank for a list of links, GEO focuses on being the definitive source the AI cites.
For Shopify merchants, this means that traffic sources are becoming more fragmented. You are no longer just competing for the first page of Google; you are competing to be the 'cited source' in an LLM's response. Tracking this traffic is the first step in understanding if your current content strategy resonates with these new algorithms.
Identifying AI Referrers in Shopify Analytics
The simplest way to start tracking is by using the built-in Shopify Analytics reports. Navigate to 'Analytics' and then 'Reports' in your Shopify admin, and search for the 'Sessions by referrer' report. While many AI interactions appear as 'Direct' traffic, an increasing number of platforms are now passing referrer headers.
Look for specific domains in your list to identify where your visitors are coming from. At the time of writing, you should keep an eye out for these specific strings in your referral reports:
- chatgpt.com / openai.com: Traffic originating from ChatGPT's web browsing capabilities.
- perplexity.ai: One of the most common sources of AI-driven referral traffic.
- google.com: This can be tricky, as Gemini traffic often blends with standard Google search, but specific paths may occasionally appear.
- anthropic.com: Traffic from Claude (though currently less common as a direct referrer).
Setting up GA4 to Capture AI Search Data
Google Analytics 4 (GA4) provides more granular control than Shopify's native reports. To isolate AI traffic, you can create a Custom Detail Report. In the 'Reports' section, go to 'Acquisition' > 'Traffic acquisition'. Use the filter icon to create a filter for 'Session source' that matches the AI domains mentioned above.
Since these AI tools often open links in new windows or internal browsers, they can sometimes strip the referrer information. To combat this, ensure your site's technical health is optimal so that bots can easily crawl and index your metadata. Using a tool like StoreFix (available at storefix.dev) can help you perform a free public URL audit to ensure your meta titles and structured data are properly configured, which is what these AI models read to understand your products.
The Role of Structured Data in AI Visibility
AI models like Perplexity and Gemini rely heavily on structured data (JSON-LD) to understand product attributes like price, availability, and materials. If your Shopify theme has broken schema or missing fields, an AI might skip your store in favor of a competitor with clearer data.
You should regularly check your 'Product' and 'Organization' schema. If you find errors, you need to address them in your liquid files or via an app. StoreFix can audit your structured data and help identify safe issues like missing meta descriptions or broken links that might prevent an AI bot from fully indexing your catalog. This ensures that when an AI 'searches' the web for a product, your data is the most accessible and accurate.
Why Your 'Direct' Traffic Might Actually Be AI
A significant portion of AI-driven traffic currently shows up as 'Direct' in Shopify. This happens because when a user clicks a link inside a private chat session, the browser doesn't always pass the referral source to your server. This is known as 'Dark Social' or 'Dark AI'.
To estimate this traffic, look for unusual spikes in direct traffic to specific product pages that haven't been featured in your recent email marketing or social media campaigns. Often, if a popular AI model starts recommending a specific product, you will see a surge in direct hits to that deep-link URL rather than your homepage.
Optimizing Content for AI Referral Clicks
To increase the likelihood of being cited by ChatGPT or Gemini, your product descriptions must be descriptive and fact-based. AI models are trained to summarize; if your text is too thin, the AI won't have enough context to recommend you. Focus on long-tail keywords and natural language that answers specific customer questions.
Maintaining technical health is also vital. Broken links and 404 errors are a signal to AI crawlers that your site is unreliable. StoreFix provides an easy way to fix these issues; its Pro plan for $29/month or Plus plan for $79/month (both with 7-day trials) allows you to use AI-written text grounded in your product data to fix meta descriptions and alt text, which are key signals for these crawlers. Keeping your site free of 404s and broken links ensures that when an AI does refer a user, the link actually works.
Monitoring Competitor Mentions in AI
Part of tracking your AI traffic is understanding the competitive landscape. Periodically prompt the major AI models yourself. Ask, 'What are the best [Your Category] stores on Shopify?' and see who is listed. If you aren't there, analyze the cited stores.
Check if those stores have better-optimized headers (H1-H6) or more descriptive image alt text. These are basic SEO elements that StoreFix audits for free at storefix.dev/audit. By closing the gap on technical SEO, you make it easier for LLMs to categorize your store correctly alongside your top competitors.
Summary of Action Items for Shopify Owners
Tracking and increasing AI traffic is a marathon, not a sprint. Start by identifying the small percentage of traffic already coming from known AI referrers in your analytics. Then, focus on the technical foundation that allows these bots to read your site effectively.
Ensure your image alt text is descriptive, your meta tags are clean, and your structured data is valid. Using a dedicated Shopify app like StoreFix to automate the fixing of safe metadata issues can save hours of manual work, allowing you to focus on high-level strategy while the app handles the technical grounding required for modern AI visibility.
Frequently asked questions
- Does ChatGPT show up in Google Analytics?
- Yes, it often appears as 'chatgpt.com' or 'openai.com' under the Referral source, but it can also appear as 'Direct' traffic if the referrer header is stripped by the browser.
- How can I improve my store's visibility in Perplexity AI?
- Focus on high-quality structured data and detailed product descriptions. Perplexity cites its sources, so having clear, factual content increases the chance of your URL being used as a citation.
- Is AI traffic different from regular SEO traffic?
- Technically, no, but the behavior is different. AI traffic is usually highly targeted because the AI has already 'vetted' your store for the user's specific query before they click.
- Can I block AI bots from crawling my Shopify store?
- Yes, via your robots.txt file, but this is generally discouraged for most merchants as it prevents your products from being recommended in conversational search results.
Find these problems in your store. Fix them in one click.
StoreFix scans your Shopify store, repairs everything it can safely change, and runs the audit again to verify the result.
Scan my store freeNo login needed for the audit.