Solved

Dawn Theme - Duplicate Structured / Rich Data (Schema.org / JSON_LD) with Shopify Review App

AlMehdi
Tourist
7 0 3

Hi


The Shopify Review App creates a duplicate set of rich data fields for each product so on Google Search I can see for each product, there are duplicate product listings (see below):

 

AlMehdi_0-1637156573234.png

 

I had managed to remove this on my previous DEBUT theme by adding the below code to product template:

 

<script>
	var SPRCallbacks = {
		onProductLoad: function( e ) {
			$('#shopify-product-reviews [type="application/ld+json"]').remove();
		},
		onReviewsLoad: function( e ) {
			$('#shopify-product-reviews [type="application/ld+json"]').remove();
		}
	}
</script>

 

On changing to Dawn theme, I have this issue again and I am not able to remove the duplicate product schema information. 

 

Here is the website URL: https://albarakahbooks.com

 

Any tips on how to remove this on DAWN theme?

Accepted Solution (1)

ilanadavis
Shopify Expert
188 25 60

This is an accepted solution.

Having more than one set of product data is normal and a common misconception that there should be only one.

Google Search will pick the best set of data to use for its analysis and ignore the other Product data.

I cover these in more detail in my article on testing the structured data.
https://www.ilanadavis.com/articles/test-json-ld-code-shopify/

Ilana Davis, Shopify Superhero
JSON-LD for SEO, adds structured data to your theme, getting you more organic traffic with Rich Results.
Linking Llama, link complementary, comparable, or related products to improve SEO & UX.

View solution in original post

Replies 6 (6)

Matty3
Tourist
12 0 1

I'm having the exact same problem! Any help would be appreciated! 

Mr_Bond
Visitor
1 0 0

Hi there:

Have you got solutions to fix Dawn Theme - Duplicate Structured data (rich results)?

 

https://soeks.store/

Soeks.Store
AlMehdi
Tourist
7 0 3
No, I did not. I have removed the SPR app temporarily which has removed the
extra structured content while somehow still allowing the original
structured data to pull aggregate rating information.

I am still looking for a solution which will allow me to keep the SPR app
without creating duplicate structured data

ilanadavis
Shopify Expert
188 25 60

This is an accepted solution.

Having more than one set of product data is normal and a common misconception that there should be only one.

Google Search will pick the best set of data to use for its analysis and ignore the other Product data.

I cover these in more detail in my article on testing the structured data.
https://www.ilanadavis.com/articles/test-json-ld-code-shopify/

Ilana Davis, Shopify Superhero
JSON-LD for SEO, adds structured data to your theme, getting you more organic traffic with Rich Results.
Linking Llama, link complementary, comparable, or related products to improve SEO & UX.
AlMehdi
Tourist
7 0 3

Thank you for this article. It was very insightful and covered many of the doubts I had about structured data on my site. 

AlMehdi
Tourist
7 0 3
Thanks, your article is very insightful and clears up many of the doubts I
had with structured data from my site including duplicate sets of
structured data, google warnings regarding no reviews, etc.