DEV Community

Cover image for GEO for Shopify: How to Get Your Products Into ChatGPT, Claude & Perplexity Results
Made Büro
Made Büro

Posted on

GEO for Shopify: How to Get Your Products Into ChatGPT, Claude & Perplexity Results

When someone asks ChatGPT "best running shoes for flat feet" or Perplexity "recommend a minimalist wallet" AI engines don't just crawl your sitemap. They need structured, machine-readable content that fits inside a context window. Your product data is trapped in Liquid templates, JavaScript, and navigation – LLMs waste tokens parsing it.

This is Generative Engine Optimization (GEO) – making your store visible to AI search engines.

I built an open-source Shopify app to solve this – GEO AI Shopify.

What GEO AI Shopify Does

GEO AI Shopify is a free, open-source embedded Shopify app that makes your store AI-readable with zero configuration.

The app generates llms.txt and llms-full.txt – structured Markdown files served via Shopify App Proxy at /apps/llms/. Think of llms.txt as robots.txt for AI: instead of telling crawlers what not to index, it tells AI engines what to read and how to understand it.
Content is cached in the database with configurable TTL and regenerated automatically when you update products, pages, or collections — all via webhooks, no manual intervention.

AI Crawlers Supported

ChatGPT, Copilot, Claude, Claude Web, Gemini, Perplexity, DeepSeek, Grok, LLaMA, Qwen, YandexGPT, GigaChat, Douyin, Ernie, Alexa and Siri.

Shopify-Native Architecture

This isn't a generic llms.txt generator bolted onto Shopify. It's built as a proper embedded app with the full Shopify stack:

  • Remix v2 + Vite — modern SSR framework
  • Shopify Polaris — native admin UI
  • Prisma ORM — type-safe database access
  • App Bridge — seamless admin integration
  • GraphQL Admin API — cursor-based pagination, exponential backoff, proactive throttling
  • Webhook-driven — cache invalidates automatically on product/page/collection changes
  • App Proxy — llms.txt served at /apps/llms/ with HMAC-SHA256 signature verification
  • Theme Extension — injects and JSON-LD Schema.org directly into storefront

Metafields Integration
AI metadata lives where it should — as Shopify Metafields (namespace: geo_ai):

  • AI Description — concise summary for LLMs (max 200 chars)
  • AI Keywords — topics and context hints
  • Exclude from AI — opt specific content out of llms.txt
  • Auto-registration of metafield definitions on first use

AI-Powered Descriptions
Generate AI summaries via Claude or OpenAI APIs:

  • One-click generation per product/page
  • Bulk generation for up to 50 resources (batched by 5, rate limited)
  • Customizable prompt templates with {title}, {content}, {type}, {price}, {category} placeholders
  • AES-256-GCM encrypted API key storage

Why This Matters Now

Shopify recently published their own GEO Playbook acknowledging that AI discovery is the next frontier for commerce. OpenAI's Agentic Commerce Protocol — launched with Shopify, Etsy, and Walmart — lets AI agents complete purchases directly. McKinsey projects agentic commerce will reach $3-5 trillion by 2030.

If your store isn't optimized for AI search today, you're already falling behind.

Why Open Source

Most Shopify GEO solutions are either paid apps or closed-source SaaS. GEO AI Shopify is GPL v2, fully open, and free. Merchants everywhere — especially those in emerging markets — deserve AI visibility without a monthly subscription.

Try It
GitHub: https://github.com/madeburo/GEO-AI-Shopify
Install it, check your /apps/llms/ endpoint, and see what AI engines can (or can't) find about your products.

Feedback, issues, and PRs welcome.

Top comments (0)