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 product groups

Instead of using SKU of a particular product you can use product group identifier

<reevoo-reviewable-badge trkref="TRKREF" sku="series:group_identifier"></reevoo-reviewable-badge>
  • group_identifier needs 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 manufacturer, model, 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: The attributes in our Feed and API implementations use underscore (_) separators, such as model_year. However, please be aware that in our badge and embedded reviews implementations, we use a hyphen (-) separator, so the HTML attribute will be model-year. This can be seen in the examples below.

Examples

Minimal required attributes are trkref, manufacturer and model:

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

We strongly recommend using more specific parameters such as model-year, body-type, etc to get more relevant scores. Speak with your account manager for more info on this. A more complex example could be:

<reevoo-reviewable-badge
    trkref="TRKREF"
    manufacturer="ford"
    model="fiesta"
    model-variant="SE"
    model-year="2016"
    body-type="hatchback"
    used="0"
    engine-type="diesel"
  ></reevoo-reviewable-badge>