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! This is great, because by collecting reviews via the Trustbadge® you make sure that all reviewers are real customers of yours!
Integrating product reviews- that´s 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. Thus, integration of the Trustbadge® is a mandatory requirement. In case you have not already integrated the Trustbadge®, take a look at this 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. These data go within the code of the below described 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">EUR</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.