Skip to main content

Product Microdata API

Pass product information from your cart page or other web page to Fresh Relevance using a standard product microdata structure.

Updated over 2 weeks ago

The Product Microdata API lets you pass product information from your cart page or other web pages to Fresh Relevance using a standard product microdata structure.

Before you start

Things you need to know:

  • To enable microdata for your Fresh Relevance account, contact your account manager or client support.

  • For technical reference, see the microdata schema.


How it works

The Product Microdata API (also known as Rich Snippets) is an optional feature that simplifies integration. Because Google Shopping uses this structure to identify products in search results, implementing it may also improve your SEO performance.

Learn more in this Google article.

Implementation

The Product Microdata API works by inserting a structured data format into your HTML. While typically hidden, you can make this structure visible if needed.

Example

Here's a sample of the data structure that Fresh Relevance can read from your website:

<div itemscope itemtype="http://schema.org/Product" style="display:none;">
<span itemprop="name">Product Name goes here</span>
<span itemprop="description">Product Description goes here.</span>
<span itemprop="color">purple</span>
<span itemprop="size">M</span>
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<meta itemprop="priceCurrency" content="GBP" />
<span itemprop="price">ยฃ28.00</span>
<link itemprop="availability" href="http://schema.org/InStock" />In stock</div>

Did this answer your question?