Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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>
Solved! Go to the solution
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
Could someone please help me for this solution in this community board?
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
Thank you so much!
So I changed like this, is it correct?
Yes. Please save and go ahead.
Please note the schema will work only on the Homepage.
Thank you soooo much!!!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025