The integration of product reviews is based on our Trustbadge® technology. Just add a few lines of code to your existing integration and start collecting reviews immediately! The ultimate benefit is that you can collect reviews via the Trustbadge® and make sure that all reviews are from real customers!
Integrating product reviews - how it works:
After you have been activated for the product reviews module, the necessary information about your products have to be added to the already existing Trustbadge® code.
Integration in just two steps:
- Product reviews are based on our Trustbadge® technology. For this reason, integration of the Trustbadge® is mandatory. In case you haven’t already integrated the Trustbadge®, take a look at the following page.
- For product reviews, you have to add the product data (e.g. product-id, product name, product url) from the basket to your existing code. This data needs be placed within the code shown below regarding the div container on your checkout page.
Order confirmation page div-container (Extension for product reviews):
<div id="trustedShopsCheckout" style="display: none;">
<span id="tsCheckoutOrderNr">2016-05-21-001</span>
<span id="tsCheckoutBuyerEmail">my.customer@mail.com</span>
<span id="tsCheckoutOrderAmount">4005.95</span>
<span id="tsCheckoutOrderCurrency">GBP</span>
<span id="tsCheckoutOrderPaymentType">PREPAYMENT</span>
<span id="tsCheckoutOrderEstDeliveryDate">2016-05-24</span>
<!-- product reviews start -->
<!-- for each product in the basket full set of data is required -->
<span class="tsCheckoutProductItem">
<span class="tsCheckoutProductUrl">http://www.shop.url/product_page.html</span>
<span class="tsCheckoutProductImageUrl">http://www.shop.url/image.png</span>
<span class="tsCheckoutProductName">Product Name</span>
<span class="tsCheckoutProductSKU">0123456789</span>
<span class="tsCheckoutProductGTIN">0123456789</span>
<span class="tsCheckoutProductMPN">0123456789</span>
<span class="tsCheckoutProductBrand">ABCDEFGHIJ</span>
</span>
<!-- product reviews end -->
</div>
(* mandatory fields are tsCheckoutProductUrl, tsCheckoutProductName and tsCheckoutProductSKU). If you wish to use the transfer of reviews for displaying product ads in Google Shopping, please also provide the GTIN.
You are now ready for automated product review collection!
Your customer will first review your online shop via the review form, in which he can write a comment and give a star rating. He will then arrive on the confirmation page on which he will be able to review the product purchased on your website.