Knowledge Base > Installing on Shopify
Platform Guide

Installing on Shopify

One edit to your theme file. Your Shopify store becomes visible to ChatGPT, Claude, and Gemini in under two minutes.

Shopify generates basic product schema automatically: product name, price, availability. That's enough for Google Shopping. It's nowhere near enough for AI search.

When someone asks ChatGPT "who sells the best handmade candles?" or Claude "recommend a coaching programme for new managers", Shopify's product schema doesn't answer that. AI needs to know who you are, what makes you credible, and why you're the one to recommend. That's entity data. Shopify doesn't generate it.

StructuredAF adds the layer Shopify misses. Your complete business identity, expertise, credentials, and services, in the format AI actually reads.

How It Works

The two-step flow

Everything starts in the StructuredAF app, then lands on your Shopify store.

Step 1

Generate in the app

Build your profile, add your offers, then click Generate Schema and Deploy. Your code is ready in seconds.

Step 2

Paste into Shopify

Copy your code snippet and paste it into your theme's theme.liquid file. One edit, done.

Good news: This works on all Shopify plans. You don't need Shopify Plus to edit your theme code. The correct method is editing theme.liquid directly, which is available to everyone.

Setup Guide

Installation steps

From dashboard to live schema in under two minutes.

1

Copy your code snippet

In your StructuredAF dashboard, go to Add to Site. If you haven't already, click Generate Schema and then Deploy. Copy the full code snippet provided. Need help getting to this stage? See our Getting Started guide.

2

Open your theme code

In Shopify admin, go to Online Store then Themes. On your active theme, click the three dots then Edit code.

3

Paste into theme.liquid

In the left sidebar, click theme.liquid (under Layout). Find the </head> tag and paste your StructuredAF snippet on the line directly above it.

Use Ctrl+F (or Cmd+F on Mac) to search for </head>. It's usually around line 30-50.
4

Save

Click Save. Your structured data is now live across your entire Shopify store: every product page, collection, and the homepage.

Verification

Check it's working

Once saved, visit your Shopify store in your browser, right-click anywhere, and select View Page Source. Search for ld+json or structuredaf. If you can see the code block in your page source, it's working.

How it works alongside Shopify

Shopify generates its own Product schema (price, availability, reviews). StructuredAF generates your business identity schema (who you are, credentials, expertise, services). These are completely different schema types and work alongside each other perfectly, with no conflicts.

If you also use Shopify SEO apps, they typically enhance product-level schema (adding review markup, breadcrumbs, etc.). StructuredAF operates at the business identity level, a completely different layer.

How updates work

When you update anything in the StructuredAF app (new products, updated pricing, refined profile), click Generate Schema and Deploy again. Then copy the updated code snippet and replace the old one in your theme.liquid file.

Full details in our Updating Your Schema guide.

SEO Comparison

What Shopify generates vs what AI needs

Shopify Built-in Schema
Product name and price
Availability and variants
Product images
Review ratings
No business identity schema
No credentials or expertise
No entity data for AI
+ StructuredAF
Complete business identity schema
Services, expertise and credentials
Professional profile and authority
FAQ schema for AI answers
Delivered to all AI crawlers
Updates when you regenerate
Works alongside product schema
Quick Answers

Common questions

Will this conflict with Shopify's product schema?

No. Shopify generates Product schema (price, availability, reviews). StructuredAF generates business identity schema (who you are, credentials, expertise, services). They're completely different schema types and work alongside each other perfectly.

What if I change my Shopify theme?

You'll need to re-add the snippet to your new theme's theme.liquid file. Same process: paste above the </head> tag and save. Takes about thirty seconds.

Will this slow down my store?

No. The snippet is a small block of structured data in your page header. It's significantly lighter than most Shopify apps you already have installed. Zero impact on page speed or checkout performance.

Do I need to update the snippet when I change my offers?

Yes, but it's quick. Update your offers in the StructuredAF app, click Generate Schema, then Deploy. Copy the new code snippet and replace the old one in theme.liquid. Takes about a minute. See Updating Your Schema for the full process.

I use Shopify for products but have a separate website too. Do I need both?

If your main website is on WordPress, use the StructuredAF plugin there. Then add the code snippet to Shopify's theme.liquid so your store is covered too. Install on every platform where your business lives.

What if I decide to move away from Shopify?

Your data lives in your StructuredAF account, not on Shopify. If you move to another platform, just install the code snippet (or WordPress plugin) on your new site. Nothing is lost. See our Switching Platforms guide.

Ready to make your Shopify store visible to AI?

One edit. One file. Done.

Get Started
Need help? Get in touch