Product Badges

To display the product badge on your website you have to

  1. include the Reevoomark Javascript library
  2. add the reevoo-reviewable-badge tag with trkref="TRKREF" and SKU="SKU"
  • TRKREF should be replaced with your unique account code
  • SKU needs to be dynamically replaced with the corresponding product SKU

Example

Default badge

<reevoo-reviewable-badge trkref="TRKREF" sku="SKU"></reevoo-reviewable-badge>

Badge variants

You can also specify the badge variant name. It can be useful for different types of pages like category listing or search result.

Example

Badge variant

<reevoo-reviewable-badge trkref="TRKREF" sku="SKU" variant="variant_name"></reevoo-reviewable-badge>
  • variant_name needs 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.

Example

<reevoo-reviewable-badge trkref="TRKREF" sku="SKU" branch-code="branch_code"></reevoo-reviewable-badge>
  • branch_code needs to be replaced with the branch code you supplied to Reevoo

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 manufacturer, model, model-year, and many other ones. Contact us if you need to get the full list of attributes available.

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.

Examples

<reevoo-reviewable-badge trkref="TRKREF" manufacturer="ford"></reevoo-reviewable-badge>
<reevoo-reviewable-badge trkref="TRKREF" manufacturer="ford" model="fiesta"></reevoo-reviewable-badge>
<reevoo-reviewable-badge trkref="TRKREF" manufacturer="ford" model="fiesta" model-year="2016"></reevoo-reviewable-badge>