Embed a customer's points balance anywhere
Embed a customer's points from anywhere.
<p>You have {{ customer.metafields.custom.rivo.value.points_balance }} points</p>
Want to keep your points in sync when you update them via the widget, page, or Javascript API?
Simply wrap your points balance in a class rivo-points-balance
and the Rivo Javascript API will update this for you.
<p>You have <span class="rivo-points-balance">{{ customer.metafields.custom.rivo.value.points_balance }}</span> points</p>
Updated over 1 year ago