How to Add Review Schema to Shopify Product Pages (With and Without Apps)
Review schema (formally Schema.org AggregateRating markup) tells search engines your product pages carry star ratings and review counts, enabling rich result snippets in Google Search. Adding it to Shopify product pages takes either a theme code edit of roughly 15–30 lines of JSON-LD or a dedicated app that injects it automatically.
This guide covers both paths end-to-end - no fluff, no "it depends" filler.
Why Review Schema Matters for Shopify Stores
Google's rich results documentation confirms that AggregateRating markup is eligible to display star snippets directly in search results. A 2025 Backlinko analysis found pages with star snippets earned a click-through rate lift of roughly 15–28% compared to equivalent listings without them. For a product page competing on commercial keywords, that delta is significant.
Shopify's default themes (Dawn, Sense, Craft, and others in the 2.0 family) include basic Product schema but do not automatically inject AggregateRating unless your theme pulls live review data from an integrated reviews app. That gap is what you're fixing here.
Method 1: Add Review Schema Manually (No App Required)
This method works if you're already storing review data somewhere - a metafield, a CSV import, or a custom reviews section - and want full control over the markup.
Step 1: Open Your Theme Code
- In your Shopify admin, go to Online Store → Themes.
- Click Actions → Edit code on your active theme.
- In the Templates folder, open
product.json(Online Store 2.0) orproduct.liquid(older themes).
Step 2: Locate or Create a Product Schema Section
In Dawn and other OS 2.0 themes, schema is typically output inside sections/main-product.liquid. Open that file and search for application/ld+json. You'll find an existing Product block. Your goal is to add an aggregateRating property inside it.
Step 3: Insert the AggregateRating Block
Find the closing brace of your existing JSON-LD Product object and add the following before the final }:
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "{{ product.metafields.reviews.rating.value }}",
"reviewCount": "{{ product.metafields.reviews.rating_count.value }}"
}
If you're using Shopify's native Product Reviews app metafields, the namespace is reviews and the keys are rating and rating_count exactly as shown above.
Step 4: Add a Conditional Guard
Google ignores AggregateRating if reviewCount is 0 or null, and submitting empty markup can trigger Search Console warnings. Wrap the block:
{% if product.metafields.reviews.rating_count.value > 0 %}
,"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "{{ product.metafields.reviews.rating.value }}",
"reviewCount": "{{ product.metafields.reviews.rating_count.value }}"
}
{% endif %}
Step 5: Validate the Output
Save your changes, then test a product URL that has at least one review using Google's Rich Results Test. A passing result will show Product with a detected AggregateRating entity and no critical errors.
Method 2: Use a Shopify Reviews App (Automated Schema)
If you don't want to touch code, or if you need review collection, moderation, and display bundled together, an app is the faster path.
Top Shopify Review Apps That Inject Schema Automatically
App Schema Type Injected Free Tier Notable Feature Judge.me AggregateRating + Review Yes (unlimited reviews) Verified buyer badges, photo reviews Yotpo (Growth) AggregateRating + Review No (paid from entry tier) UGC syndication, loyalty integration Okendo AggregateRating + Review No (14-day trial) Attribute ratings, quiz integration Stamped.io AggregateRating + Review Limited (100 orders/mo) Net Promoter Score, Q&A schema Loox AggregateRating No (paid only) Photo-first review displayEvery app in this list outputs valid JSON-LD on the product page automatically after installation. You do not need to edit theme code.
Installation Process (Judge.me Example)
- Install Judge.me from the Shopify App Store.
- Complete the onboarding wizard - it imports any existing reviews from Shopify's native app automatically.
- Under Settings → SEO, confirm "Rich Snippets" is toggled on (it is by default).
- Run the Rich Results Test on a reviewed product page. Schema appears within minutes of installation.
Manual vs. App: 5 Key Differences
- Setup time: Manual takes 20–45 minutes of code editing; apps take under 5 minutes.
- Ongoing maintenance: Manual markup breaks if theme updates overwrite your edits; apps self-maintain.
- Review collection: Manual schema only marks up data you've already collected; apps include collection flows (email requests, widgets).
- Cost: Manual is free; apps range from $0 (Judge.me free tier) to $300+/month for enterprise tiers.
- Schema completeness: Apps typically output both
AggregateRatingand individualReviewentities; manual implementations often include onlyAggregateRatingunless you build the loop yourself.
Common Mistakes That Prevent Rich Results
1. Duplicate Product schema blocks. If your theme already outputs a Product JSON-LD object and you add a second one for the rating, Google may ignore both. Always merge the aggregateRating property into the existing object.
2. Hardcoded placeholder values. Never publish "ratingValue": "5.0" on every product regardless of actual reviews. Google's quality guidelines treat fabricated markup as a manual action risk.
3. Schema on pages with zero reviews. As noted above, an aggregateRating block with a reviewCount of 0 triggers validation warnings. The Liquid conditional guard in Step 4 prevents this.
4. Mismatched review counts. If your visible on-page review count says "47 reviews" and your schema says 12, Google flags the discrepancy. Keep the two in sync, especially after importing or migrating reviews.
Verifying Rich Results in Google Search Console
After your schema is live, open Google Search Console → Enhancements → Review Snippets. New data typically populates within 3–7 days of Google recrawling your pages. If the report shows errors rather than valid items, the error descriptions map directly to the Schema.org property that failed - usually a missing reviewCount or an out-of-range ratingValue (must be between 1 and 5 for standard star display).
For faster indexing, use the URL Inspection tool to request recrawling of your highest-priority product pages immediately after implementation.
Frequently Asked Questions
Does Shopify add review schema automatically?
No. Shopify's built-in product schema includes basic Product markup but does not automatically inject AggregateRating data. You need either a manual code edit or a reviews app to add star rating schema to product pages.
Will review schema guarantee star snippets in Google Search?
Valid schema makes your pages eligible for star snippets - Google decides whether to display them based on its own quality signals. Pages with accurate, well-formatted AggregateRating markup on products that have genuine reviews consistently qualify, but Google can suppress snippets at its discretion.
Can I add review schema without showing reviews on the page?
No. Google's rich results guidelines require that the information in your schema is also visible to users on the page. If you output AggregateRating markup but don't display the star rating and review count visibly, Google will disqualify the markup and may issue a manual action for misleading structured data.
What's the difference between AggregateRating and Review schema?
AggregateRating represents the combined summary (e.g., "4.7 stars, 312 reviews"). Review represents individual reviewer entries with author name, body text, and individual rating. Google can display both in search results; AggregateRating produces the star snippet, while individual Review entities can appear in extended rich results for certain queries.
Does review schema affect my Shopify store's SEO beyond click-through rate?
Review schema is not a direct ranking factor - Google has confirmed structured data alone does not boost page rankings. Its SEO value is indirect: higher click-through rates from star snippets increase traffic volume, and positive engagement signals (lower bounce rate on well-reviewed products) can reinforce rankings over time. The primary measurable benefit is the CTR lift from the visual star display in SERPs.
