Referral Link

Display Customer's Current Referral Link

You can use this markup to display the customer’s current referral link. Use the class name swell-referral-link on the element you would like to display the referral link inside of.

<!-- the content of the tag will be replaced by the actual referral discount code on page load.
       Decide what you'd like the customer to see while it loads -->

  <!-- show nothing until referral link is loaded -->
  <span class="swell-referral-link"></span>

  <!-- show font awesome spinner until referral link is loaded -->
  <span class="swell-referral-link"><i class="fa fa-spin fa-spinner"></i></span>