Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey!
I would like to know how to create schema markup and add it to the (collection) liquid. I am looking for a markup that will boost my SEO.
My website: https://sofa-bed-futon.com/
This is how I created it: https://technicalseo.com/tools/schema-markup-generator/
Using Dawn Theme 11.0
Thanks!
This is Richard from PageFly - Shopify Page Builder App
Please add the generated code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
For example :
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "example",
"url": "example",
"logo": "example"
}
</script>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Hello @sofa-bed-futon,
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Your Business Name",
"image": "https://yourwebsite.com/image.jpg",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main St",
"addressLocality": "Anytown",
"addressRegion": "CA",
"postalCode": "90210"
},
"telephone": "+1-555-555-5555",
"description": "Your business description goes here.",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.5",
"reviewCount": "25"
},
"openingHours": "Mo-Fr 09:00-17:00"
}
</script>
Before adding the markup to your website, validate it to ensure it’s correctly formatted and free of errors.
Insert the validated JSON-LD code into your HTML document. Place it in the <head> section or near the closing </body> Tag of your web pages.
To learn more about the Shopify Schema Markup, visit here. It might be helpful to you.
iCart Cart Drawer Cart Upsell App
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024