Platform Guide · Shopify

GEO for Shopify

Make your Shopify catalog readable to ChatGPT Shopping, Perplexity, and Claude. Audit your store in seconds and deploy clean llms.txt, robots.txt.liquid, and Product schema.

Audit Your Shopify Store Now

Enter your Shopify store domain to run the 11-dimension GEO audit (crawler access, llms.txt, schema, and E-E-A-T):

See a sample report — n8n.io scored 66/100 (Basic), 8/11 dimensions above 60%.

1. Publish llms.txt via Content > Files + URL Redirect

Shopify does not let you drop arbitrary static text files directly into the root directory. The cleanest, platform-native workflow is to upload your file to Shopify's CDN and map /llms.txt to it:

  1. Create a concise llms.txt describing your store, best-selling collections, shipping/return policies, and key product links.
  2. In Shopify Admin, open Content > Files, upload llms.txt, and copy its generated CDN URL.
  3. Create a redirect from /llms.txt to that CDN URL in Online Store > Navigation > View URL redirects (or Content > Menus > URL Redirects).
# Your Store Name

> Concise summary of what your Shopify store sells, shipping regions, and warranty.

## Key Collections
- [Best Sellers](https://yourstore.com/collections/best-sellers): Top products
- [Shipping & Returns](https://yourstore.com/pages/shipping): Delivery and return policy

2. Configure AI Crawlers in templates/robots.txt.liquid

Shopify supports customizing /robots.txt through templates/robots.txt.liquid. Always preserve {{ robots.default_groups }} so checkout and cart protections stay intact, then add explicit AI search crawler directives:

{% for group in robots.default_groups %}
  {{- group.user_agent -}}
  {% for rule in group.rules %}
    {{- rule -}}
  {% endfor %}
  {%- if group.sitemap != blank -%}
    {{ group.sitemap }}
  {%- endif -%}
{% endfor %}

User-agent: GPTBot
Allow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Google-Extended
Allow: /

3. Validate Product JSON-LD on Product Templates

Keep Product structured data strictly inside product templates using {% if template contains 'product' %} (or inside your sections/main-product.liquid). Ensure every variant includes price, currency, availability, and identifiers (sku, gtin, or mpn).

{% if template contains 'product' %}
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": {{ product.title | json }},
  "description": {{ product.description | strip_html | truncate: 300 | json }},
  "sku": {{ product.selected_or_first_available_variant.sku | json }},
  "brand": { "@type": "Brand", "name": {{ product.vendor | json }} },
  "offers": {
    "@type": "Offer",
    "priceCurrency": {{ cart.currency.iso_code | json }},
    "price": {{ product.selected_or_first_available_variant.price | money_without_currency | json }},
    "availability": "https://schema.org/{% if product.available %}InStock{% else %}OutOfStock{% endif %}",
    "url": {{ shop.url | append: product.url | json }}
  }
}
</script>
{% endif %}

Want Us to Fix Your Shopify Store for You?

Get the $49 AI Visibility Fix Pack — completed & validated Product JSON-LD for your best-seller, a line-by-line robots.txt diagnosis, a curated llms.txt ready for Content > Files, and a post-deploy re-audit in 48 hours.

Shopify GEO FAQ

How do I add llms.txt to a Shopify store?

Upload your llms.txt file under Content > Files in Shopify Admin to get its CDN URL, then create a URL Redirect from /llms.txt to that CDN file URL under Online Store > Navigation > View URL redirects (or Content > Menus > URL Redirects). Because Shopify serves static assets from its CDN, redirecting /llms.txt to the uploaded file makes it reachable at your root domain.

How do I allow GPTBot and ClaudeBot in Shopify robots.txt?

In Shopify Admin, go to Online Store > Themes > Edit code > Templates > Add a new template and select robots.txt to create templates/robots.txt.liquid. Keep {{ robots.default_groups }} intact and append explicit Allow rules for GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, and Google-Extended.

Where should Product JSON-LD live in a Shopify theme?

Place Product JSON-LD inside your product template or main-product section guarded by template contains 'product', rather than on the homepage. Include every variant offer with price, priceCurrency, availability, and product identifiers such as sku, gtin, or mpn so AI shopping surfaces can match your items accurately.

Why does Shopify need a manual GEO check if it generates default SEO tags?

Shopify default themes often omit variant-level identifiers (sku, gtin, mpn), serve generic llms.txt endpoints without store catalog facts, or lose structured data when third-party apps inject conflicting blocks. A live audit verifies what AI crawlers actually parse on your store.