Attributes

Configurable Attributes

Display

Reevoo Widgets support the following list of attributes to control how reviews are displayed.

Attribute NameAccepted ValuesDefault ValueDescriptionWidget Types
enabled-tabsproduct / brand / aao / allallAllows selected tabs to be shown in the lightboxBadges and Embeddable
flags-enabledtrue / falsetrueAllows flags representing the language of the review to be hidden or shownBadges and Embeddable
min-reviewsinteger number3Sets minimum number of reviews to showBadges only
scores-in-facetstrue / falsetrueAllows numeric scores to be hidden or shown in facetsBadges and Embeddable
show-brandtrue / falsetrueAllows the Reevoo logo to be hidden or shown ‡Badges and Embeddable
show-older-reviewstrue / falsefalseAllows the 'Show older reviews' button to be hidden or shown in the lightboxBadges and Embeddable
social-enabledtrue / falsetrueAllows the social media buttons to be hidden or shown in the lightboxBadges and Embeddable
stars-enabledtrue / falsefalseAllows to switch between stars or scores in the ratingBadges and Embeddable
stars-in-facetstrue / falsefalseAllows to switch between stars or scores in the facetsBadges and Embeddable
nameName of the badge (Text)Use specific named badge, for greater control over look and feel ‡‡Badges only
typeproduct / brand / a / comboSpecifies the type of the badge to display ‡‡Badges and Embeddable
variantName of the badge variant (Text)defaultUse specific named badge variant, for greater control over look and feel. Must be specified together with the "type" attribute ‡‡Badges only

‡ - Contract permitting (please contact your account manager)

‡‡ - Must be used in the following combinations: "name" or "type", or "type" and "variant".

Examples

<reevoo-badge
  type="product" 
  product-id="SKU" 
  on-click="function(){ alert('badge clicked') }"
  click-action="no_action"
></reevoo-badge>
<reevoo-badge 
  type="product" 
  product-id="SKU" 
  click-action="open_lightbox"
></reevoo-badge>

Data Scope

Reevoo Widgets support the following list of attributes to allow review data to be scoped.

Attribute NameAccepted ValuesDefault ValueDescriptionWidget Types
localetext, format "en-GB"Locale of the TRKREFAllows widgets to be displayed in the language of the named localeBadges, and Embeddable
per-pageinteger, Minumum: 3, Maximum: 1510Allows the number of Brand or Product reviews per page to display in the Lightbox of Embeddable widgetBadges, and Embeddable
product-idtextProduct IdentifierProduct, Ask An Owner badges and Combo Badges
branch_codetextBrand Badges and Embeddable Brand Reviews
scoretext (customer_service, delivery)Brand badges

‡ - Mandatory attributes: product-id or manufacture and model combination for Product, Ask An Owner badges and Combo Badges

Data Scope for Automotive Partners

Reevoo Widgets supports the following list of attributes that allows to scope the data

‡ - Mandatory attributes: product-id or manufacturer and model combination for Product, Ask An Owner badges and Combo Badges

Examples

<reevoo-badge
  type="product"
  manufacturer="ford"
  model="fiesta"
  model-variant="SE"
  model-year="2016"
  body-type="hatchback"
  used="0"
  engine-type="diesel"
  locale="en-GB"
></reevoo-badge>
<reevoo-badge 
  type="product" 
  product-id="SKU" 
></reevoo-badge>
<reevoo-embeddable
  type="product"
  manufacturer="ford"
  model="fiesta"
  model-variant="SE"
  model-year="2016"
  body-type="hatchback"
  used="0"
  engine-type="diesel"
  locale="en-GB"
></reevoo-embeddable>
<reevoo-embeddable 
  type="product" 
  product-id="SKU" 
></reevoo-embeddable>