To display the product badge on your website you have to
- add the
TRKREFshould be replaced with your unique account code
SKUneeds to be dynamically replaced with the corresponding product SKU
You can also specify the badge variant name. It can be useful for different types of pages like category listing or search result.
variant_nameneeds to be replaced with the badge variant, supplied by Reevoo
Product Badges for Branches
When rendering a product badge you can specify the branch-code that the customer experience tab should be limited to. This is useful when you do not want to show all CEX reviews.
Note: If you try to render a badge with a code we do not have, the badge will not render. You will need to provide use with new branch codes if this is the case.
branch_codeneeds to be replaced with the branch code you supplied to Reevoo
Product Badges for product groups
Instead of using SKU of a particular product you can use product group identifier
group_identifierneeds to be replaced with the product group identifier
Product Badges for Automotive Partners
Our automotive partners which have been enabled to use Automotive Aggregation, can display the product badges based on automotive metadata instead of a “sku”.
The automotive metadata includes attributes like
model-year, and many others. The full list of available attributes correspond to the values in our automotive product feed specification.
To display product badges based on automotive metadata, add the
reevoo-reviewable-badge tag with attributes
trkref="TRKREF, and then any combination of automotive metadata attributes. See some examples below.
NOTE: Please use hyphen (‘-‘) separator for each HTML attribute to stick with HTML conventions, for example
model-year. This can be seen in the examples below.
Minimal required attributes are
We strongly recommend using more specific parameters such as
body-type, etc to get more relevant scores. Speak with your account manager for more info on this. A more complex example could be:
Custom click action
Normally are click actions on badges defined by Reevoo administrators. As a default we open a lightbox when user clicks on the badge.
reevoo-click-actionattribute gives you posibility to control the behaviour and overwrite default setting.
Available options are
Custom click callback
on-click callback together with