Conversations Product 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.

Conversation product badges are associated to a specific product and allow the user access to the “ask an owner” feature where they can ask questions about the product, or read previously submitted questions about the product and their answers if available.

📘

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

The types of tracking events required for this type of badges and the snippets you need to include in order to trigger them are exactly the same as in the section above for Reviews Product Badges with the only different we use contentType: ‘conversations’ instead of contentType: ‘reviewable’. See the equivalent snippets below.

<div 
  onclick="reevooMark(
    'trackBadgeClick', 
    'TRKREF', 
    { 
      contentType: 'reviewable', 
      reviewableContext: { sku: 'SKU' } 
    }
  );"
>
  DISPLAY YOUR BADGE HERE
  <script>
    if (typeof window.afterReevooMarkLoaded === 'undefined') { 
      window.afterReevooMarkLoaded = []; 
    }
    afterReevooMarkLoaded.push(function() { 
      reevooMark(
        'trackBadgeDisplay', 
        'TRKREF', 
        { 
          contentType: 'conversations', 
          reviewableContext: { sku: 'SKU' }
        }
      ); 
    });
  </script>
</div>
<div 
  onclick="reevooMark(
    'trackBadgeClick', 
    'TRKREF', 
    { 
      contentType: 'reviewable', 
      reviewableContext: {  
        manufacturer: 'MAKE', 
        model: 'MODEL' 
      } 
    }
  );"
>
  DISPLAY YOUR BADGE HERE
  <script>
    if (typeof window.afterReevooMarkLoaded === 'undefined') { 
      window.afterReevooMarkLoaded = []; 
    }
    afterReevooMarkLoaded.push(function() { 
      reevooMark(
        'trackBadgeDisplay', 
        'TRKREF', 
        { 
          contentType: 'conversations', 
          reviewableContext: { 
            manufacturer: 'MAKE', 
            model: 'MODEL' 
          }
        }
      ); 
    });
  </script>
</div>

As detailed in the Reviews Product Badges section, you should replace TRKREF, SKU, MAKE and MODEL by the relevant values for your organisation and product. And also make sure your page includes the reevoo javascript library.

Attributes

TRKREF (required)
reviewableContext to identify reviewable (examples: sku, manufacturer, model)
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