Reevoo

The Reevoo Developer Hub

Welcome to the Reevoo developer hub. You'll find comprehensive guides and documentation to help you start working with Reevoo as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

Customer Experience Badges (Deprecated)

📘

This documentation covers our pre August 2020 implementation. We strongly recommend upgrading to our latest JavaScript implementation to take advantage of performance improvements and additional features. Our migration guide can be found here.

Customer experience badges display ratings associated to different aspects of the interaction of the customers with the retailer itself, not of specific products sold by the retailer.

We have three different types of customer experience badges: “Overall Service Rating”, “Customer Service Rating”, and “Delivery Rating”.

As with the product badges, for customer experience badges we are interested on tracking the “rendered” and “click” events.

📘

Remember - If you use the standard Reevoo widgets, the tracking associated to Customer Experience badges is set up automatically. If you implement your own Customer Experience badges using our API, you need to trigger the tracking events manually by implementing the javascript snippets shown below.

To make sure these two events are triggered, first include in your page the Reevoo Javascript library, and then put a div around your badge element as in the snippets below.

Just make sure to replace TRKREF by the trkref value assigned to you by Reevoo.

<div 
  onclick="reevooMark(
    'trackBadgeClick', 
    'TRKREF', 
    { 
      contentType: 'customer_experience', 
      badgeType: 'overall' 
    }
  );"
>
  DISPLAY YOUR OVERALL CUSTOMER EXPERIENCE BADGE HERE
  <script>
    if (typeof window.afterReevooMarkLoaded === 'undefined') { 
      window.afterReevooMarkLoaded = []; 
    }
    afterReevooMarkLoaded.push(function() { 
      reevooMark(
        'trackBadgeDisplay', 
        'TRKREF', 
        { 
          contentType: 'customer_experience', 
          badgeType: 'overall' 
        }
      ); 
    });
  </script>
</div>
<div 
  onclick="reevooMark(
    'trackBadgeClick', 
    'TRKREF', 
    { 
      contentType: 'customer_experience', 
      badgeType: 'customer_service' 
    }
  );"
>
  DISPLAY YOUR CUSTOMER SERVICE BADGE HERE
  <script>
    if (typeof window.afterReevooMarkLoaded === 'undefined') { 
      window.afterReevooMarkLoaded = []; 
    }
    afterReevooMarkLoaded.push(function() { 
      reevooMark(
        'trackBadgeDisplay', 
        'TRKREF', 
        { 
          contentType: 'customer_experience', 
          badgeType: 'customer_service' 
        }
      ); 
    });
  </script>
</div>
<div 
  onclick="reevooMark(
    'trackBadgeClick', 
    'TRKREF', 
    { 
      contentType: 'customer_experience', 
      badgeType: 'delivery' 
    }
  );"
>
  DISPLAY YOUR DELIVERY SERVICE BADGE HERE
  <script>
    if (typeof window.afterReevooMarkLoaded === 'undefined') { 
      window.afterReevooMarkLoaded = []; 
    }
    afterReevooMarkLoaded.push(function() { 
      reevooMark(
        'trackBadgeDisplay', 
        'TRKREF', 
        { 
          contentType: 'customer_experience', 
          badgeType: 'delivery' 
        }
      ); 
    });
  </script>
</div>

Attributes

TRKREF (required)
hitType with values: impression (badge is visible, default), non_impression (badge is not visible as there are not enough reviews), miss (reviewable not found)
ctaPageUse identifies type of page where the badge is displayed, possible values: product_primary (default), product_secondary, category, search, homepage, basket, checkout, confirmation, reevoo
ctaStyle for optional further identification of badge
badgeType to further specify type of customer experience badge, possible values: overall (default), customer_service, delivery

Updated 2 months ago

Customer Experience Badges (Deprecated)


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.