Solved

Dawn theme How to add structured data in main page?

Shuhei3355
Tourist
11 1 0

I need to add the following structured data in the main page, but I don't know where.
Could someone please help me??

<script type=”application/ld+json”>
{
“@context” : “http://schema.org”,
“@type” : “WebSite”,
“name” : “FOL“,
“url” : “https://fol.jpn.com
}
</script>

Accepted Solution (1)
Sweet_Savior_3
Shopify Partner
756 46 54

This is an accepted solution.

Hello @Shuhei3355 

 

Please add your code in theme.liquid before </body>. 

Enclosed in below liquid tags

{% if template contains 'index' %}

SCHEMA

{% endif %}

 

Thanks

Don't forget to like and accept the solution to help others store owners.

Looking for an expert for your store ? Hire Me

Have any queries ? Send Here

From Less To Further !!!

View solution in original post

Replies 5 (5)

Shuhei3355
Tourist
11 1 0

Could someone please help me for this solution in this community board?

Sweet_Savior_3
Shopify Partner
756 46 54

This is an accepted solution.

Hello @Shuhei3355 

 

Please add your code in theme.liquid before </body>. 

Enclosed in below liquid tags

{% if template contains 'index' %}

SCHEMA

{% endif %}

 

Thanks

Don't forget to like and accept the solution to help others store owners.

Looking for an expert for your store ? Hire Me

Have any queries ? Send Here

From Less To Further !!!
Shuhei3355
Tourist
11 1 0

Thank you so much!
So I changed like this, is it correct?スクリーンショット 2023-12-05 14.55.32.png

 

 

Sweet_Savior_3
Shopify Partner
756 46 54

Yes. Please save and go ahead. 

 

Please note the schema will work only on the Homepage.

Don't forget to like and accept the solution to help others store owners.

Looking for an expert for your store ? Hire Me

Have any queries ? Send Here

From Less To Further !!!
Shuhei3355
Tourist
11 1 0

Thank you soooo much!!!