Loyalty

The Loyalty HAPI component will pull data related to Loyalty Programs/Activities from the Control Panel

The 2 data-pv-type values are:

  1. balance - this provides the data on the total amount of loyalty points earned by members

  2. activities - this provides data on all loyalty activities set in the Control Panel

<div data-pv-component="loyalty" data-pv-type="balance" data-pv-object="abc">
    // Some code
</div>

The code above has data-pv-object so you will be able to see all data pulled by typing "abc" into the developer console.

Last updated