Adding structured data, a type of markup language, helps search engines to better understand the content on a website. It provides detailed information about the website, its products, as well as things like pricing, availability, ratings, and reviews.
When adding structured data, Google recommends the JSON-LD format. Before adding any structured data, make sure you take a look at Google’s guidelines and that you’re appropriately defining the types and properties for the different pages on your website.
How to implement structured data on Shopify
When it comes to implementing structured data, you’ve got a few options.
You can use the Smart SEO Shopify app. This app automatically provides search engines with structured data in the recommended JSON-LD format. This automates the process, making it simple to add structured data to your Shopify store.
Another option is to work with a certified Shopify expert. This is a helpful solution for businesses lacking experience or knowledge of structured data.
A third option is to implement the data manually. We’d only recommend this for businesses with experience with JSON-LD, Shopify Liquid, HTML, and schema.org. There’s the potential to introduce errors into your website’s HTML, so this may be a risky option for those with no experience.
ListItem - this involves the position of the product on the collection page.
How to test your structured data for Shopify
It’s possible to test your structured data to make sure that all of the properties have been added correctly and that you’re eligible for rich snippets on SERPs.
You can test your structured data with Google’s Rich Results Test. Here you can input either your target URL to test, or test the HTML code directly. Either option will let you know if your structured data is valid.