Propensity to Buy Event (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.

Propensity to buy events are used by retailers which don’t sell their products online. This might apply to automotive retailers for example, which can feature cars in their website but which require customers to go to a brick and mortar dealership to complete a purchase.

For this type of “non-transactional” websites, we can still get a measure of the impact of Reevoo in the retailer’s bottom line by having “propensity to buy” events within “key” pages in your website which indicate the user might be considering buying the product.

For example a retailer could place a propensity to buy event in the “Find a Dealership” page, which indicates the customer is willing to try the product.

📘

Remember - This tracking is not covered by our standard Reevoo widgets. You would need to trigger the tracking events manually by implementing the javascript snippets shown below.

Find below some examples on how to place propensity to buy events in your website for different use cases. Make sure the page where you use these snippets contain the Reevoo javascript library.

Scenario 1 - Propensity to buy on visiting a specific page

Triggering a propensity to buy event when the user visits a specific page, for example the “Find a Dealer” page (although it can be any other type of page that you wish).

<script>
  if (typeof window.afterReevooMarkLoaded === 'undefined') { 
    window.afterReevooMarkLoaded = []; 
  }
  afterReevooMarkLoaded.push(function() { 
    reevooMark(
      'trackPropensityToBuy', 
      'TRKREF', 
      { 
        reviewableContext: { sku: 'SKU' }, 
        cta: 'Find a Dealer' 
      }
    ); 
  });
</script>

In the snippet above, you should replace TRKREF by the trkref value assigned to you by Reevoo. Also SKU should be replaced by the sku of the product to which you want to attach the event. If the event is generic for all products you can use the value Global CTA instead, like below:

<script>
  if (typeof window.afterReevooMarkLoaded === 'undefined') { 
    window.afterReevooMarkLoaded = []; 
  }
  afterReevooMarkLoaded.push(function() { 
    reevooMark(
      'trackPropensityToBuy', 
      'TRKREF', 
      { 
        reviewableContext: { sku: 'Global CTA' } , 
        cta: 'Find a Dealer' 
      }
    ); 
  });
</script>

The cta attribute where it says Find a Dealer can be replaced by any other label that clearly identifies the type of propensity to buy event that you want to track, there are not restrictions to what this label can be.

Automotive versions

If you are an automotive retailer which uses a combination of “Model” and “Manufacturer” to identify products, instead of sku, replace { reviewableContext: { sku: ‘SKU’ }} by { reviewableContext: { manufacturer: ‘MAKE’, model: ‘MODEL’ }} in the snippets above. Make sure to replace MAKE and MODEL by the actual manufacturer and model values of your product, or use Global CTA if the event is not associated to a specific product. See examples of the equivalent snippets below.

<script>
  if (typeof window.afterReevooMarkLoaded === 'undefined') { 
    window.afterReevooMarkLoaded = []; 
  }
  afterReevooMarkLoaded.push(function() { 
    reevooMark(
      'trackPropensityToBuy', 
      'TRKREF', 
      { 
        reviewableContext: { 
          manufacturer: 'MAKE', 
          model: 'MODEL' 
        }, 
        cta: 'Find a Dealer' 
      }
    ); 
  });
</script>
<script>
  if (typeof window.afterReevooMarkLoaded === 'undefined') { 
    window.afterReevooMarkLoaded = []; 
  }
  afterReevooMarkLoaded.push(function() { 
    reevooMark(
      'trackPropensityToBuy', 
      'TRKREF', 
      { 
        reviewableContext: { 
          manufacturer: 'Global CTA', 
          model: 'Global CTA' 
        }, 
        cta: 'Find a Dealer'
      }
    ); 
  });
</script>

Scenario 2 - Propensity to buy event on a user action

Triggering a propensity to buy event on a user action, for example when the user clicks on a “Download Brochure” button. For that make sure you add an onclick event to the button or link, as in the example below. You should replace TRKREF by the trkref value assigned to you by Reevoo, and SKU by the sku of the product, or by Global CTA if the event is not linked to an individual product.

<button 
  type="button" 
  onclick="reevooMark(
    'trackPropensityToBuy', 
    'TRKREF', 
    { 
      reviewableContext: { sku: 'SKU' }, 
      cta: 'Download Brochure' 
    }
  );"
>Download Brochure</button>

Automotive version

Again, if you use manufacturer and model to identify your products instead of sku, you should use the snippet below instead, making sure to replace MAKE and MODEL by the correct manufacturer and model associated to your product or by Global CTA if the event is not linked to a specific product.

<button 
  type="button" 
  onclick="reevooMark(
    'trackPropensityToBuy', 
    'TRKREF', 
    { 
      reviewableContext: { 
        manufacturer: 'MAKE', 
        model: 'MODEL' 
      }, 
      cta: 'Download Brochure' 
    }
  );"
>Download Brochure</button>