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

Solved

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

AlMehdi
Tourist
8 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 Partner
228 29 77

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.

View solution in original post

Replies 11 (11)

Matty3
Excursionist
15 0 2

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
8 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 Partner
228 29 77

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.
AlMehdi
Tourist
8 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
8 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.

Univers-d-Ange
Excursionist
21 0 2

Is there a solution for the DAWN 12 theme by example ?

I dont understand how it works for collection page of ici .

Univers d'Ange : La boutique des Anges
Découvrez nos bagues d'Ange ou nos pendentifs d'Ange
ilanadavis
Shopify Partner
228 29 77

Hey @Univers-d-Ange 

What issue are you trying to solve? I'm not sure I understand your question.

Ilana Davis, Shopify Superhero
JSON-LD for SEO, adds structured data to your theme, getting you more organic traffic with Rich Results.
Univers-d-Ange
Excursionist
21 0 2

Hello Ilana,
Thank you for your question. I'm wondering how to integrate structured data into the DAWN theme. It looks like I need to use a json file with the data found at schema.org (agregaterating , pricevaliduntil etc.). Or maybe I need to modify the theme.liquid?
Sorry for the newbie question.

Univers d'Ange : La boutique des Anges
Découvrez nos bagues d'Ange ou nos pendentifs d'Ange
ilanadavis
Shopify Partner
228 29 77

Hey @Univers-d-Ange 

 

Dawn has some structured data already built-in but it may not be complete. If you'd like to email me at [email protected], I can do a free structured data audit to see if JSON-LD for SEO can help.

JSON is not the same thing as JSON-LD. JSON is a file format to transmit data. JSON-LD is a method to link data using JSON. So no, don't add the structured data to your JSON file. It should be in the liquid files based on the page type.

If you're not a developer, I recommend using an app like JSON-LD for SEO if it's not already included in your theme. It would take a skilled developer a few hours to code this in plus the cost of maintenance. Google constantly makes updates to the structured data requirements so using an app like JSON-LD for SEO ensures you have the most up-to-date code without the stress of having to maintain the code and doesn't impact your site speed at all.

Ilana Davis, Shopify Superhero
JSON-LD for SEO, adds structured data to your theme, getting you more organic traffic with Rich Results.
Univers-d-Ange
Excursionist
21 0 2

I'm not a developer, I just try to understand all of this 🙂
I will send you an email, thank you.

Univers d'Ange : La boutique des Anges
Découvrez nos bagues d'Ange ou nos pendentifs d'Ange