Loyalty & Rewards: Referral Modal widget

  • Updated

Stamped's Referral Modal widget allows customers to submit their referrals outside of your Loyalty launcher or dedicated rewards page. We recommend adding it to the Order Confirmation page for customers to easily submit referrals after completing their purchase. Follow this guide to learn more! 


In this guide


How it works

  • Customer completes their purchase
  • On the order confirmation page, the popup modal will show the option to share their purchase with friends to receive loyalty points
  • Customers can choose to share via email, Facebook, Twitter or with a direct link to the referral URL

Installation (Shopify)

To install the widget on your order confirmation page, copy the below code and paste it into the Additional Scripts section of your Shopify Admin (Settings > Checkout > Additional Scripts)

{% if checkout.email %}<br><div id="stamped-reviews-widget" data-widget-type="rewards-referral-modal" data-style-color-background="#fabbbb" data-style-color-button="#d45500" data-style-color-link="#ff0000" data-customer-email="{{checkout.email}}" data-customer-first-name="{{customer.first_name}}"></div><br>{% endif %}

You can also enable the widget through your Shopify theme customizer in the App Embeds section: 


Installation (all other e-commerce platforms)

  • In the Stamped dashboard, go to Display > Widgets > Referral Modal


  • Customize your widget if you'd like, then click Get Codes and then Copy Codes


  • Take the code you've generated and paste it into your theme files or script manager to add to your desired location; this will depend on your e-commerce platform, so please consult your developer if you're unsure of where to place the codes

Related to

Was this article helpful?

1 out of 1 found this helpful

Have more questions? Submit a request