Custom Product Schema Implementation (with Feefo API)
Drive search traffic by combining Feefo's Reviews API with custom product schema. Design structured data, validate markup, and earn Google review stars.
TABLE OF CONTENTS
- Introduction
- Why Build Custom Product Schema?
- Designing Your Product Schema
- Full Compliant JSON-LD Example
- Performance & Caching Best Practices
- Summary
Introduction
While Feefo provides plug-and-play front-end widgets that can automatically inject structured data, enterprise brands and advanced development teams often prefer building custom Product schema fed directly by the Feefo Reviews API.
Server-side rendering your structured data guarantees that search engine bots read the complete review markup on the initial HTML fetch—avoiding any indexing delays or dependency on client-side JavaScript execution.
Why Build Custom Product Schema?
- Full Markup Control: Combine Feefo verified ratings with custom ecommerce catalog attributes (e.g., variant SKUs, GTINs, return policies, shipping costs) in a unified JSON-LD graph.
- Instant Bot Discovery: Server-side injected JSON-LD bypasses second-wave JavaScript rendering queues in search engine crawlers.
- Reduced Client-Side Overhead: Eliminates DOM layout shifts caused by dynamic scripts loading and parsing markup in the customer's browser.
Designing Your Product Schema
Google strongly recommends using JSON-LD embedded in a <script type="application/ld+json"> tag within your page's HTML <head> or <body>.
To qualify for organic review stars and product rich snippets, your schema must represent a single specific item (not an entire category or listing page) and include:
- Core Product Identifiers:
name,image,description,brand, and at least one global identifier (sku,gtin13,gtin14, ormpn). - Offer Details:
offersobject withprice,priceCurrency,availability, andurl. - Aggregate Rating:
aggregateRatingobject withratingValue(average rating) andreviewCount(total reviews) sourced from the Feefo Summary API. - Individual Reviews: A
reviewarray containing individual reviews. To comply with modern Google specifications:- The
authorfield must be an object typed asPersonorOrganization(strings will fail validation). - The
datePublishedfield must follow ISO 8601 format (e.g.,YYYY-MM-DDorYYYY-MM-DDTHH:mm:ssZ).
- The
Useful resources:
- AggregateRating; https://schema.org/AggregateRating
- Product Schema: https://schema.org/Product
- Reviews: https://schema.org/Review
Full Compliant JSON-LD Example
Below is a complete, validated snippet representing an ecommerce product page with embedded Feefo customer feedback:
<script id="product_schema" type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"@id": "https://myscoot.co.uk/products/egret-ten-v3-electric-scooter#Product",
"name": "EGRET-TEN V3 X Electric Scooter",
"sku": "EGR-TEN-BLA",
"gtin13": "4260399795284",
"mpn": "EGR-TEN-BLA",
"image": [
"https://cdn.myscoot.co.uk/products/egret-ten-v3-main.jpg",
"https://cdn.myscoot.co.uk/products/egret-ten-v3-side.jpg"
],
"description": "The EGRET-TEN V3 X UK electric scooter features 10-inch air-filled tyres, a 500W motor, and up to 25 miles range on a single charge.",
"brand": {
"@type": "Brand",
"name": "Egret"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.9",
"bestRating": "5",
"worstRating": "1",
"reviewCount": "2"
},
"review": [
{
"@type": "Review",
"author": {
"@type": "Person",
"name": "Imogene Ashlock"
},
"datePublished": "2024-06-16",
"reviewBody": "I have an engineering background and work in energy. Build quality and torque on hills are exceptional.",
"reviewRating": {
"@type": "Rating",
"ratingValue": "5",
"bestRating": "5",
"worstRating": "1"
}
},
{
"@type": "Review",
"author": {
"@type": "Person",
"name": "Verified Customer"
},
"datePublished": "2024-05-31",
"reviewBody": "Great e-scooter, excellent range and fast charging. Very smooth ride over cobblestones.",
"reviewRating": {
"@type": "Rating",
"ratingValue": "5",
"bestRating": "5",
"worstRating": "1"
}
}
],
"offers": {
"@type": "Offer",
"price": "1338.99",
"priceCurrency": "GBP",
"itemCondition": "https://schema.org/NewCondition",
"availability": "https://schema.org/InStock",
"url": "https://myscoot.co.uk/products/egret-ten-v3-electric-scooter"
}
}
</script>
Mapping the Feefo Reviews API to Schema
Feefo provides distinct endpoints for aggregate summaries and detailed review feeds in product mode:
- Feefo Summary API: Call to populate high-level summary metrics (
aggregateRating). - Feefo Reviews API: Call to fetch individual user testimonials (
reviewarray).
Use this mapping table when parsing the Feefo API response into your JSON-LD generator:
|
Schema Property |
Feefo API Response Parameter |
|
aggregateRating.ratingValue |
rating.rating |
| aggregateRating.reviewCount | rating.product.count |
| review.author | reviews[].customer.display_name |
| review.reviewBody | reviews[].products[].review |
| review.ratingValue | reviews[].products[].rating.rating |
| review.datePublished | reviews[].products[].created_at |
Manipulating or skewing your aggregateRating markup could result in Google penalising your rich snippets results.
Performance and Caching Considerations
Calling external APIs on every page load can slow down your site and negatively impact SEO. To avoid this:
- Implement server‑side caching of Feefo API responses and refresh them on a schedule (for example, hourly or daily, depending on review volume).
- Store aggregated rating and a subset of recent reviews, then regenerate the schema from cached data on each page render.
This approach keeps your Product schema up to date while maintaining fast page load times and a smooth user experience.
Validate Your Implementation
Before deploying your custom schema to production:
- Rich Results Test: Run your staged or live product URLs through the official Google Rich Results Test Ensure the markup validates with green checkmarks under both Product snippets and Merchant listings
- Schema Markup Validator: Run the JSON-LD snippet through the Schema.org Validator to catch syntax discrepancies or missing structural tags.
- Inspect in Search Console: Once live, monitor the Product Snippets report in Google Search Console to detect warnings, invalid items, or unparsed fields across your site.

Google Guidelines & Eligibility Checklist
To maintain eligibility for organic review stars and avoid algorithmic or manual structured data penalties:
- No Aggregate Review Manipulation: Never artificially inflate your
ratingValueor hardcode fake numbers. The values in your schema must precisely match the real figures displayed on the visible webpage. - On-Page Visibility: Review text and aggregate scores encoded in JSON-LD must be readily visible to a human visitor browsing the page. Hiding review content completely behind hidden styling while declaring it in schema violates Google's Webmaster Guidelines.
- Specific Items Only: Schema review stars are reserved for discrete individual items. Never place
Productschema withaggregateRatingon collection lists, category landing pages, blog posts, or search results. - Restricted Categories: Google prohibits review rich results for adult products, financial services, weapons, and medical prescription items.
Custom Product schema powered by Feefo’s Reviews API combines verified, third-party buyer proof with complete architectural control—giving your product pages the fastest, most reliable path to organic star ratings in Google search results.
Summary
Building custom Product schema with the Feefo Reviews API gives you maximum flexibility over how review data is presented to users and search engines. With accurate mapping, sensible caching, and regular validation, this implementation can significantly increase the likelihood and reliability of organic star ratings across your product catalogue.