E-commerce
September 17, 2026
Wondering how to detect ChatGPT searches in Google Search Console? It is possible thanks to regular expressions (regex), which filter out the long and specific queries typical of AI agents. Understanding this activity helps you adapt your content to capture this new traffic.
Searches carried out by ChatGPT and other agents are often longer and geared towards comparison or purchasing. Identifying them in GSC requires a bit of methodology, but regex filters make the analysis accessible to all merchants.
So how do you detect ChatGPT searches in Google Search Console? On the agenda:
Why do AI agent queries differ from classic searches?
Which regex filter should you use to identify long queries?
How to cross-reference GSC and GA4 to analyze the pages visited by ChatGPT?
Which regular expressions to use for brand and purchase queries?
How does Qstomy help leverage this data to convert?
Let's get started.
Summary
Why do AI agent queries differ from classic searches?
AI agents like ChatGPT do not type like a human. Their queries are often longer, more detailed, and oriented towards a specific goal: comparing, buying, or verifying a fact. Where an internet user types "iPhone 15 price", an agent might generate "what is the average price of an iPhone 15 with warranty and customer reviews".
This difference is explained by the nature of the prompts. A human user formulates a short question, while an agent breaks down a complex task into several sub-searches. As a result, queries originating from AI are about 60% longer than average, with an average of five words.
For a merchant, spotting these queries in Google Search Console is an opportunity. This allows for adapting page content to answer the precise questions that agents ask themselves, thereby gaining visibility in AI-generated responses.

Convert over 2,000 customers on average per month with Qstomy.
The world’s 1st Shopify AI dedicated to customer conversion



Empowering 200+ e-commerce merchants
How to configure a regex filter for long queries in GSC?
To identify long queries in Google Search Console, open the "Performance" section, then click "Add a filter". Choose "Query" then "Custom (regex)". This is where you will paste a regular expression.
The following expression filters queries containing more than ten words:
([^" "]*\s){10,}?
You can adjust the number "10" to test other lengths. For example, replace it with "4" to see queries of more than four words, or with "25" for very long queries. The idea is to find the threshold that best reveals queries generated by AI agents in your niche.
This filter is an excellent starting point for analyzing emerging traffic. Once the queries are identified, you can cross-reference them with the pages receiving them, as we will see later.
How to combine GSC and GA4 to identify the pages visited by ChatGPT?
Google Analytics 4 (GA4) can identify the pages that generate the most traffic from ChatGPT. To do this, go to "Reports" then "Engagement," and choose "Pages and screens." Add a filter on the session source, selecting "Contains" and typing "ChatGPT."
GA4 then displays only the pages whose source contains "chatgpt." Copy the URL paths of these pages, then create a second filter in Google Search Console to see the long-tail queries associated with these same pages. This cross-referencing shows you which pages attract AI agents and which specific queries they answer.
This method is powerful for prioritizing your optimizations. If a product page receives a lot of ChatGPT traffic, you know it answers a recurring question. You can then enrich its content to strengthen its relevance.
Which regular expressions for brand and purchase queries?
AI agents often explore reviews, prices, and return policies before recommending a product. To identify these queries in GSC, use a regular expression targeting transactional and comparison keywords.
Here is an example pattern to test:
\b(review|reviews|reddit|rating|ratings|support|warranty|return policy|refund|complaint|feedback|scam|legit|trustworthy|experience|issues|buy|purchase|price|cost|cheap|discount|coupon|order|store|near|online|sale|affordable|available|in stock|best|quality|features|specifications|deal|shop|compare|vs|versus)\b
This filter reveals queries where the agent is looking to compare, verify, or buy. If your store appears in these results, it is a strong signal: your content meets the criteria that AIs use to recommend products.
How to spot "best of" queries generated by AI agents?
When you ask ChatGPT to recommend a product, it often explores "best of" articles or listicles. Publishing this type of content can therefore increase your visibility with AI agents. To track this activity, use a regex targeting words like "best", "top", or "trusted".
Here is a simple pattern to integrate into GSC:
\b(best|top-rated|trusted|famous|top|most|perfect)\b
This filter shows you queries where your brand or products appear in a ranking context. If you notice an increase in these queries, now is the time to create or optimize your own listicles to capture this traffic.
What regexes for AI agent informational queries?
AI agents also generate informational queries, often to answer prompts like "how to" or "what is". If your content answers these questions, ChatGPT may cite your page as a source. To identify these queries, use a regex targeting informational keywords.
Here is an example:
\b(guide|tutorial|how to|step by step|tips|tricks|ways to|best way to|learn|help|explain|understand|examples|instruction|methods|meaning of|definition)\b
This filter helps you identify pages that serve as references for informational prompts. If you see queries of this type landing on your blog or advice sheets, it is a sign that your content is deemed useful by AI agents.
Which tools can simplify regex management in GSC?
Manipulating regexes in Google Search Console can become tedious, especially if you are testing multiple patterns. Fortunately, browser extensions simplify the work. GSC Helper, for example, allows you to save your regular expressions and apply them directly in GSC, without copying and pasting each time.
Another extension, Better Regex in Search Console, offers pre-built patterns and an editor to create your own. These tools save you time and make analysis smoother, especially if you manage multiple stores or large volumes of queries.
The goal remains the same: to quickly identify queries generated by AI agents to adapt your content strategy.
How to adapt your content for long AI agent queries?
A long-tail query is not just a technical signal: it is a detailed search intent. If an AI agent searches for "price of a folding treadmill with a 2-year warranty", your page must answer this specific question to be cited.
Analyze the long-tail queries you have identified and compare them with the content of your pages. Ask yourself: does my page clearly answer this query? If not, enrich it with structured information, comparative tables, or direct answers at the top of the page.
This approach not only improves your visibility with AI agents, but also with internet users looking for precise answers. It is a double benefit for your traffic.
What types of pages attract the most traffic from AI agents?
AI agents favor pages that respond quickly and well. Product pages with prices, reviews, and return policies are highly sought after, as are blog posts that explain a method or compare options. FAQ pages and buying guides are also very popular.
To attract this traffic, structure your pages with clear answers, bullet points, and factual data. AI agents often extract content snippets to generate their responses. The clearer your page is, the more likely it is to be cited.
Also, remember to update your information regularly, as AI agents favor recent and reliable sources.
How to track the evolution of AI queries over time?
Queries generated by AI agents are evolving rapidly. What works today may change tomorrow. To track this evolution, create regex filters in GSC and save the results at regular intervals, for example, every month.
Compare the volumes of long-tail queries, the pages receiving them, and the associated keywords. If you see an increase in a product category, now is the time to invest in dedicated content. If a page is losing AI traffic, check if it is still up-to-date and relevant.
This monitoring allows you to anticipate trends and stay one step ahead of your competitors.
How does Qstomy help convert AI agent traffic?
Identifying ChatGPT queries in GSC is a first step. But you still need to convert this traffic into sales. That's where Qstomy comes in. As a Shopify AI agent, Qstomy guides your visitors toward a purchase with personalized recommendations, complementary product suggestions, and simplified order tracking.
When a visitor arrives at your store via a long-tail query, they are often looking for a precise answer. Qstomy analyzes their behavior and shopping cart to offer them the right products at the right time. It can also handle customer service questions, such as package tracking requests or returns, freeing up time for your team.
With more than 100 merchants supported, Qstomy transforms search intent into buying action. It is the ideal complement to your content strategy for capturing traffic from AI agents.
Checklist for leveraging ChatGPT queries in GSC
Here is a checklist for leveraging ChatGPT queries in Google Search Console:
Set up regex filters in GSC for long-tail, transactional, and informational queries.
Cross-reference data with GA4 to identify pages receiving ChatGPT traffic.
Analyze queries to understand the search intent of AI agents.
Adapt page content to precisely answer these queries.
Track the evolution of AI queries monthly to adjust your strategy.
In brief
Regex in GSC is a powerful tool for detecting ChatGPT searches. By combining them with GA4 and a tailored content strategy, you can capture this emerging traffic and convert it into sales.
FAQ
Are regex in GSC difficult to configure? No, you just need to go to "Performance", then "Add a filter" and paste a regular expression.
How long does it take to see results? GSC data is updated regularly, but it often takes a few weeks to observe clear trends.
Is Qstomy compatible with all Shopify stores? Yes, Qstomy easily integrates with Shopify and adapts to your catalog and needs.
To go further: Google Analytics for marketing: ads, traffic and performance (GA4) - Qstomy, How to drive traffic to an online store (SEO, ads, social media)? - Qstomy, E-commerce SEO strategy for category pages - Qstomy, How to deploy digital marketing on an e-commerce site? - Qstomy, How does Google Ads assemble responsive search ads? - Qstomy, Why use social media for e-commerce customer service? - Qstomy, Integrating customer service answers into an e-commerce SEO strategy useful to customers - Qstomy.

Enzo
September 17, 2026


