SEOShopifyAI Testing

I Used AI to Take a Shopify Store from 0 to 100 SEO Score in One Day

2026-02-24Β·8 min readΒ·By TokenSpy Research Team

So last week a buddy of mine who runs a building materials company in Ontario asked me to "fix his SEO." I pulled up his Shopify store expecting maybe some missing meta tags. What I found was... worse.

115 products. Zero meta descriptions. 75 of them had literally the same copy-pasted paragraph. No schema markup. No internal links. Google Search Console? Never heard of it. His store was basically a ghost on Google.

I told him I'd knock it out in a day. He laughed. Here's how it went.

πŸ†

TL;DR β€” From Ghost to Perfect

Took a Shopify store from ~50 to 100/100 Lighthouse SEO score in one working day. 115 products, 20 collections, 6 blog articles β€” all optimized with AI automation. Here's the exact playbook.

πŸ” The Damage Report

First thing I did was run an audit. Not with some fancy $200/month SEO tool β€” just AI and the sitemap. Thirty minutes later I had a list that made me want to cry:

  • ❌ Not a single meta description. On anything. 68 products, 20 collections, all blank.
  • ❌ 75 products sharing the SAME description. Copy. Paste. Repeat.
  • ❌ No schema markup. Google literally didn't know this was a local business.
  • ❌ Blog posts existed but had zero internal links. Just... floating in space.
  • ❌ Featured images with alt text like "IMG_3847.jpg." Chef's kiss.

My friend was paying good money for his Shopify theme but nobody told him the content underneath was invisible.

⚑ How I Actually Did It

The blog posts came first (2 hours)

I wrote 6 articles targeting stuff people actually search for β€” "SPC vs WPC flooring which is better," "how much does flooring installation cost in Ontario," that kind of thing. Why blogs first? Because you need somewhere to link TO later.

Then I went full automation mode

Here's where it gets nerdy. Clicking through Shopify admin to add meta descriptions one product at a time? At 68 products that's literally a full day of brain-melting boredom.

Instead I pulled everything through Shopify's JSON API, had AI write unique descriptions for each product based on its category and specs, and pushed them all back. The key insight: you need the metafields endpoint, not the product API.

⚠️

Shopify API Gotcha

Shopify's product API ACCEPTS your meta description update, returns a happy 200 status code, and then... doesn't save it. Just pretends it worked. You need to use the metafields endpoint separately.

Also: collections.json returns 406 on PUT. Need custom_collections endpoint instead. Not in any tutorial I've ever seen.

Sounds simple enough, right? But the devil is in the details β€” the exact API calls, the CSRF workaround, the batch update script that handles rate limits, and the schema markup injection that doesn't need a $29/month app...

Step 1: Connect to Shopify Admin API using private app credentials and set up the metafields batch endpoint...

Step 2: Batch update all 68 product meta descriptions via metafields API with rate-limit handling script...

Step 3: Handle the collections.json 406 gotcha β€” switch to custom_collections endpoint with CSRF token workaround...

Step 4: Rotating description templates β€” 5 SPC styles, 3 WPC styles, 10 porcelain tile variations with spec injection...

Step 5: LocalBusiness schema markup injection directly into theme.liquid (no paid app needed)...

Step 6: Internal link automation script β€” auto-link blog posts bidirectionally based on keyword matching...

Step 7: Alt text batch updater β€” pull image filenames, generate descriptive alt text with AI, push back via API...

Step 8: Google Search Console DNS verification shortcut and initial sitemap submission...

πŸ”’ Full step-by-step playbook with code examples

Unlock Full Playbook β€” $7.99

πŸ“Š The Scoreboard

Lighthouse SEO Score
~50β†’100/100 βœ…
Products with meta descriptions
0β†’68+
Unique product descriptions
~40β†’115
Schema markup
Nothing→LocalBusiness
Google Search Console
Didn't exist→Active
Performance
β€”β†’69/100 (Shopify ceiling)

My buddy texted me "wait seriously?" when I showed him the Lighthouse report. Yeah. Seriously.

🎯 The Playbook (Overview)

  1. 1. Audit everything first. Know what's broken before you touch anything.
  2. 2. Write blog content targeting keywords people actually search. This gives you link destinations.
  3. 3. Batch-update via API. Never click through admin one-by-one. Life's too short.
  4. 4. Use rotating templates for product descriptions. Unique AND scalable.
  5. 5. Internal links + schema + alt text. The boring stuff wins.
  6. 6. Set up Google Search Console day one. You need data to improve.
  7. 7. Don't forget Google Business Profile. Local search is where the money is.

The dirty secret of Shopify SEO? It's not hard. It's just tedious. AI makes it not tedious. But the specific scripts, API calls, and workarounds took us a full day of debugging to figure out.

One day. One hundred out of one hundred. My buddy owes me dinner.