Structured data
Structured data is a standardized way to describe the content of your web pages in a format that search engines can understand. It uses schema.org markup to give Google precise information about products, prices, reviews, and more.
What is structured data?
Structured data is code you add to your web pages that describes the content in a machine-readable format. It uses a standardized vocabulary from schema.org to tell search engines exactly what your content is about: not just the text, but the meaning behind it.
Where a person can look at a page and understand that "DKK 599" is a price and "4.7 out of 5" is a rating, Google needs structured data to understand the same thing.
Structured data formats
There are three formats, but JSON-LD is the recommended one:
- JSON-LD (recommended): A JavaScript-based format that is inserted as a
<script>tag. It is separate from the HTML, easy to maintain, and Google's preferred format. - Microdata: Attributes are added directly to HTML elements. An older format that is harder to maintain.
- RDFa: Similar to microdata, but with a different set of attribute names. Rarely used in ecommerce.
Relevant schema types for online stores
Product
Describes a product with its name, image, description, SKU, GTIN/MPN, brand, and offer information. It is the most important schema type for any online store.
Offer
Linked to Product and describes the price, currency, availability (InStock/OutOfStock), validity period, and seller.
AggregateRating
An overall rating based on customer reviews. It includes the average rating, the best rating, and the number of reviews.
Review
Individual customer reviews with rating, author, and text.
BreadcrumbList
Describes the breadcrumb navigation (for example Home → Clothing → Men's jackets → Product).
Organization
Information about your business: name, logo, contact details, and social media profiles.
FAQ
Frequently asked questions with answers. They can be shown as an expanded section directly in the search results.
Structured data in Shoporama
Shoporama automatically generates JSON-LD structured data for product pages with:
- Product: Name, description, URL, images (all variants), SKU, GTIN, MPN, brand, and supplier
- Offer: Price, currency, availability, condition (NewCondition), and price validity period (+1 month)
- AggregateRating: Average rating and number of reviews from customer reviews
- Review: Individual customer reviews with rating, author, and text
All of this is generated automatically, without you having to add any code. Google crawls your pages and finds the structured data, which can result in rich snippets in the search results.
Benefits of structured data
- Rich snippets: Stars, prices, and availability are shown directly in Google's search results, which increases your click-through rate.
- Google Shopping: Structured data supplements your product feed and can improve how your products appear in Shopping results.
- Voice search: Voice assistants such as Google Assistant use structured data to answer voice searches.
- Better understanding: Helps Google understand your content correctly, which can improve your organic rankings.
Test and validate
- Google Rich Results Test: Test whether Google can read your structured data and show rich results.
- Schema Markup Validator: Check that your JSON-LD is syntactically correct.
- Google Search Console: See which rich results Google has found and whether there are errors to fix.
How to do it in Shoporama
Guides that show the term in practice
Add structured data (Schema.org JSON-LD) to your Shoporama theme
A complete guide to JSON-LD structured data in a Shoporama theme, with Smarty examples for Product, Store,...
SEO in Shoporama: a complete guide to the SEO features
A complete guide to the SEO features in Shoporama, from meta titles, meta descriptions, and the XML sitemap to...
We know online marketing at Shoporama
We have worked with online marketing ourselves for decades. As the only e-commerce platform in Denmark, we have spoken several times at conferences such as Marketingcamp, SEOday, Shopcamp, Digital Marketing, E-commerce manageren, Ehandelsdagen, Web Analytics Wednesday, and many more.