Skip to main content

Customer Account Page Embed

Add the Account Embed to your customer account page to create a seamless integration

Written by James Dohm

Introduction

Shopify Account Page Embed


Integrating the Account Embed on your customer account page lets your members know about their Loyalty points. It also creates a seamless integration across your website so your customers can easily access their points balance right from their account.

✨ The Account Embed is available on supported paid plans




Walkthrough




Setting up your Account Page Embed

Let’s walk through how to integrate your customer’s points balance into their already existing customer account page.

  1. From your Loyalty Dashboard, go to Onsite > Account Embed

  2. Make any edits to the default text or settings:

  3. Make sure to toggle the switch to ON

  4. Click Save and visit your store’s /account page to preview the changes. If you set the embed to appear on the customer addresses page instead, preview your store’s /account/addresses page.

💡 Pro Tip: Looking to create a loyalty page too? Create a dedicated page for your Loyalty program

✨ Rivo Loyalty & Referrals' Account Embed now integrates with Customer Account Concierge. Check out our guide here.




Advanced settings and custom themes


Custom CSS

✨ Check out some premade CSS themes for the Account Embed here


Setting a custom selector to embed the widget

Here you can add an HTML class, to tell our app where to show the widget on the account page. For example, adding .order-history here tells Rivo to use your theme’s order history area as the placement target. The exact position depends on the page position setting below.

Choosing the page where the widget appears

By default, the Account Embed appears on the main customer account page. You can also set it to appear on the customer addresses page.

Choosing the page position of the widget

Our app automatically places the widget in your customer account page layout. Setting a custom selector will change where the embed widget will be inserted.

  • beforebegin - Embeds the account widget before the element

  • afterbegin - Embeds the account widget after the beginning of the element (first child)

  • beforeend - Embeds the account widget before the end of the element

  • afterend - Embeds the account widget after the element

📝 Note: Only use this setting if the current selector doesn't work on your theme or plan to change the widget location. If you need help, just message our team!




Order history image note

If your customer account page also shows order history with product images, products with more than five variants may show the product’s main image instead of the exact variant image for some line items. This does not affect the customer’s order details or loyalty balance.

If matching every variant image is important for your theme, message our team and we can review the setup with you.




Common questions

Can I embed this widget somewhere else on my website?

The Account Embed is built for Shopify customer account pages. It can appear on the main customer account page or the customer addresses page.

Can someone help me customize the design?

Yes! Email our technical team at [email protected] and we’ll be happy to spruce it up.

Did this answer your question?