SEO and GEO

How to Optimise Structured Data in WooCommerce

JSJennifer Sánchez · Ecommerce Manager
· 3 min read

How to Optimise Structured Data in WooCommerce | 13 Solutions

Ecommerce has become a central part of the digital ecosystem, letting businesses reach global audiences with…

How to optimise structured data in WooCommerce

Ecommerce has become a central part of the digital ecosystem, letting businesses reach global audiences with ease. WooCommerce, one of the most popular WordPress plugins, plays a crucial role for many online stores. However, to maximise visibility and improve SEO performance, optimising structured data is essential. In this article we explain how to do it.

What is structured data?

Structured data is a standard format for providing information about a web page and classifying its content. Basically, it helps search engines better understand what a specific page is about. Using a standard vocabulary such as Schema.org, structured data is presented in a format that search engines like Google can easily understand.

Why structured data matters in WooCommerce

For an optimised online store, structured data is essential. It not only helps search engines understand your product content better, it also increases the chances of getting rich snippets in search results. These can include:

  • Prices
  • Ratings
  • Stock availability
  • Detailed product descriptions

Rich snippets not only increase visibility in SERPs (Search Engine Results Pages), they also improve click-through rates (CTR), which can noticeably increase traffic and sales.

Implementing structured data in WooCommerce

There are several ways to implement structured data in WooCommerce. Although some themes and plugins already handle it automatically, manual adjustments are often needed for finer optimisation.

1. Use SEO plugins

SEO plugins can make it easier to add structured data to your WooCommerce store. Plugins such as Yoast SEO, All in One SEO Pack and Rank Math are very common and offer options to add product schema automatically.

Once installed, make sure your products are properly tagged with the relevant information. This includes properties such as «product», «aggregateRating» and «offers», to give search engines the most complete details possible.

2. Manual structured data setup

More experienced users can also add structured data manually in the theme code. This gives you full control over the data you provide.


<div itemscope itemtype="http://schema.org/Product">
<span itemprop="name">Product name</span>
<span itemprop="brand">Brand</span>
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<span itemprop="ratingValue">4.5</span> from
<span itemprop="reviewCount">15</span> reviews
</div>
<span itemprop="offers" itemscope itemtype="http://schema.org/Offer">
Price: <span itemprop="price">£29.99</span>
<link itemprop="availability" href="http://schema.org/InStock"/>In stock
</span>
</div>

This basic code can be customised to include each product's specific information.

3. Use JSON-LD

JSON-LD (JavaScript Object Notation for Linked Data) is a data format that makes it easy to link structured data across the web. It is one of Google's preferred methods for implementing structured data. Its advantages include easy implementation and a lower risk of conflicts with other HTML code.


<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Product",
"name": "Product name",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.5",
"reviewCount": "15"
},
"offers": {
"@type": "Offer",
"price": "29.99",
"priceCurrency": "GBP",
"availability": "http://schema.org/InStock"
}
}
</script>

Testing and adjusting structured data

Once you have implemented your structured data, it is crucial to make sure everything works correctly. Google offers a free structured data testing tool to check how this data looks. Google Search Console can also give you valuable information about any structured data errors on your site.

Test regularly and keep your data up to date, especially when you add new products or change existing ones. This ensures search engines and potential customers always have the most accurate information about your products.

Conclusion

Optimising structured data in WooCommerce is an essential strategy to improve your online store's visibility and performance. With these techniques you can give search engines rich, detailed information, helping you improve rankings and click-through rates, which ultimately translates into more sales.

If you haven't started optimising your ecommerce site's structured data yet, now is the perfect time to do it and get ahead of the competition in SEO.

Available for new projects

Got a project in mind?

Tell us about it and we'll reply with a no-obligation proposal. If you can imagine it, we can code it.

Trusted by

  • Arktic
  • Shakers
  • FisicalCoach
  • Digital Group