LoyaltyLion home page
Search...
⌘K
Status
Support
Dashboard
Dashboard
Search...
Navigation
Simple components
Customer referral URL
Documentation
SDK
Admin API
Headless API
LoyaltyLion SDK
Overview
Installation
Configuration
Live updating
Workflow hooks
WebViews
Simple components
Customer referral URL
Points components
Embeddable components
Loyalty page
Standalone components
Legacy components
Modal components
History info modal
Referral modal
Redeem reward modal
Claimed reward modal
On this page
Explanation
Code
Simple components
Customer referral URL
Available on the
Advanced plan
and above.
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
Copy
<
span
data-lion-referral-url
></
span
>
WebView JS events reference
Customer points
Assistant
Responses are generated using AI and may contain mistakes.