Customer referral URL

Use this component to display the current customer’s unique referral URL.

Explanation

Whenever we find this component on the page, we’ll set its innerHTML to the current logged in customer’s personal referral URL.

If no customer is logged in, we’ll leave it blank.

Code

<span data-lion-referral-url></span>