Link to Rewards Popup from page

Swell's premium users have the option to add a link which activates the rewards popup from a variety of locations, including directly from any page on their online store. Please note that the link will not work if you are not subscribed to one of our premium plans, or if the program is paused!

Instructions for Triggering the Rewards Popup From a Page 

To trigger the rewards popup from a page, you'll need the following line of code: <a href="#" onclick="showSwellModal()">Reward text here</a>. 

So for example, if you wanted to have a line that reads "Our rewards program is designed to thank our loyal customers for their patronage.  Just click here to learn about all of the exciting ways you can earn points!", where "just click here" would be hyperlinked, you would write the following:

Our rewards program is designed to thank our loyal customers for their patronage.  <a href="#" onclick="showSwellModal()">Just click here</a> to learn about all of the exciting ways you can earn points!