---
updatedAt: 2025-12-10T21:36:46.000Z
agentTools:
  projectIndex: https://developer-docs.rivo.io/llms.txt
---

# Embed a customer's points balance anywhere

<Callout icon="❗️" theme="error">
  **Note**: This is a legacy method as Shopify's metafields can take up to 30 minutes to update. Please use [Rivo JS](https://developer-docs.rivo.io/docs/getcustomerdetails) for the most up to date data.
</Callout>

Embed a customer's points from anywhere.

```liquid
<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.

```liquid
<p>You have <span class="rivo-points-balance">{{ customer.metafields.custom.rivo.value.points_balance }}</span> points</p>
```

<Embed url="https://booster-apps.wistia.com/medias/4t0jy593rc" href="https://booster-apps.wistia.com/medias/4t0jy593rc" html="%3Ciframe%20class%3D%22embedly-embed%22%20src%3D%22%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Ffast.wistia.net%252Fembed%252Fiframe%252F4t0jy593rc%26display_name%3DWistia%252C%2BInc.%26url%3Dhttps%253A%252F%252Fbooster-apps.wistia.com%252Fmedias%252F4t0jy593rc%26image%3Dhttps%253A%252F%252Fembed-ssl.wistia.com%252Fdeliveries%252Fb8e79d432cd830c81faee204fa6575b8.jpg%253Fimage_crop_resized%253D960x620%26key%3Df2aa6fc3595946d0afc3d76cbbd25dc3%26type%3Dtext%252Fhtml%26schema%3Dwistia%22%20width%3D%22960%22%20height%3D%22620%22%20scrolling%3D%22no%22%20title%3D%22Wistia%2C%20Inc.%20embed%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%22%20allowfullscreen%3D%22true%22%3E%3C%2Fiframe%3E" />