Analytics & Measurement
Shopify’s Query Log: A New Window Into AI Shopping Traffic
Shopify quietly shipped something important for anyone who cares about AI search and eCommerce: the Query Log inside its new Knowledge Base app.
11 December 2025
5 min read
In simple terms, it’s a live feed of what AI shopping agents are asking about your brand and whether they can answer.
What is the Knowledge Base + Query Log?
The Knowledge Base app sits in your Shopify admin and acts as a trusted source of truth for AI agents.
It pulls in your store settings (shipping, returns, payments, etc.) and lets you create FAQs that aren’t just for your website, they’re facts AI agents can read and reuse when customers ask questions.
On top of that, Shopify now gives you:
Activity metrics – product query volume, top requested products, FAQ query volume, query resolution rate.
Query Log – a list of AI questions, including:
- The agent (who asked)
- The exact query (what they asked)
- What it was matched to (store data, FAQ, or nothing)
- Whether it was answered or unanswered
- It’s basically your AI customer-service transcript.
Why this matters for AI search and “AI shelf-space”
For brands, AI traffic has been a black box. You know people are asking ChatGPT, Perplexity, Gemini and co what to buy but you rarely see the questions.
The Query Log changes that:
You see real customer language
The phrases people use with AI agents become fuel for product copy, FAQs, PDP attributes and blog content.
You can spot knowledge gaps
Every Unanswered query is a gap in your brand’s knowledge graph. That’s where you need a clearer FAQ, policy or PDP update.
You understand which agents “carry” your brand
Because the agent is logged, you can see where you’re actually showing up and where you might need more structured data.
You get a feedback loop for Language Model Optimisation
Instead of guessing what to optimise for AI, you respond directly to the queries that are already happening.
A simple workflow to use the Query Log
Here’s how I’d plug this into an AI search / Lmo7 workflow.
1. Seed the Knowledge Base properly
Install and enable the Knowledge Base app.
Let Shopify auto-generate the basics.
Add high-value FAQs for:
Shipping & duties
Returns & warranties
Sizing / ingredients / materials
Subscriptions, bundles, gifting
Think of it as your minimum viable knowledge graph.
2. Review the Query Log weekly
Once AI traffic starts flowing, set a 15-minute weekly review:
Scan top Answered queries
Are they aligned with how you position the brand?
Any themes you should lean into more on-site?
Scan top Unanswered queries
Do you want to answer these?
If yes, what’s the right place: FAQ, PDP, policy page, or all three?
3. Turn “Unanswered” into structured answers
For each recurring Unanswered theme:
Create or update a Knowledge Base FAQ.
Mirror the same facts and language in:
PDP copy and attributes
Help centre articles
Policy pages
You want the same, clean answer available wherever the models look.
4. Treat it like an experiment
Pick a topic (e.g. “international shipping” or “vegan products”):
Capture a before: frequency of related queries + resolution rate.
Update FAQs and PDPs.
Watch how the Query Log and metrics shift over the next few weeks.
That’s the start of treating AI shopping as a real channel, not just a buzzword.
In summary
For an AI-search focused brand, Shopify’s Query Log is gold:
It gives you real prompts to optimise against, not hypothetical personas.
It adds AI search KPIs (query volume, resolution rate, product query volume) to your usual eCommerce dashboard.
It creates a shared view for eCommerce, CX and marketing teams of how AI agents are actually talking about your brand.
What is the Knowledge Base + Query Log?
The Knowledge Base app sits in your Shopify admin and acts as a trusted source of truth for AI agents.
It pulls in your store settings (shipping, returns, payments, etc.) and lets you create FAQs that aren’t just for your website, they’re facts AI agents can read and reuse when customers ask questions.
On top of that, Shopify now gives you:
Activity metrics – product query volume, top requested products, FAQ query volume, query resolution rate.
Query Log – a list of AI questions, including:
- The agent (who asked)
- The exact query (what they asked)
- What it was matched to (store data, FAQ, or nothing)
- Whether it was answered or unanswered
- It’s basically your AI customer-service transcript.
Why this matters for AI search and “AI shelf-space”
For brands, AI traffic has been a black box. You know people are asking ChatGPT, Perplexity, Gemini and co what to buy but you rarely see the questions.
The Query Log changes that:
You see real customer language
The phrases people use with AI agents become fuel for product copy, FAQs, PDP attributes and blog content.
You can spot knowledge gaps
Every Unanswered query is a gap in your brand’s knowledge graph. That’s where you need a clearer FAQ, policy or PDP update.
You understand which agents “carry” your brand
Because the agent is logged, you can see where you’re actually showing up and where you might need more structured data.
You get a feedback loop for Language Model Optimisation
Instead of guessing what to optimise for AI, you respond directly to the queries that are already happening.
A simple workflow to use the Query Log
Here’s how I’d plug this into an AI search / Lmo7 workflow.
1. Seed the Knowledge Base properly
Install and enable the Knowledge Base app.
Let Shopify auto-generate the basics.
Add high-value FAQs for:
Shipping & duties
Returns & warranties
Sizing / ingredients / materials
Subscriptions, bundles, gifting
Think of it as your minimum viable knowledge graph.
2. Review the Query Log weekly
Once AI traffic starts flowing, set a 15-minute weekly review:
Scan top Answered queries
Are they aligned with how you position the brand?
Any themes you should lean into more on-site?
Scan top Unanswered queries
Do you want to answer these?
If yes, what’s the right place: FAQ, PDP, policy page, or all three?
3. Turn “Unanswered” into structured answers
For each recurring Unanswered theme:
Create or update a Knowledge Base FAQ.
Mirror the same facts and language in:
PDP copy and attributes
Help centre articles
Policy pages
You want the same, clean answer available wherever the models look.
4. Treat it like an experiment
Pick a topic (e.g. “international shipping” or “vegan products”):
Capture a before: frequency of related queries + resolution rate.
Update FAQs and PDPs.
Watch how the Query Log and metrics shift over the next few weeks.
That’s the start of treating AI shopping as a real channel, not just a buzzword.
In summary
For an AI-search focused brand, Shopify’s Query Log is gold:
It gives you real prompts to optimise against, not hypothetical personas.
It adds AI search KPIs (query volume, resolution rate, product query volume) to your usual eCommerce dashboard.
It creates a shared view for eCommerce, CX and marketing teams of how AI agents are actually talking about your brand.