window.loyaltylion
variable.
loyaltylion.init
is called automatically for Shopify, BigCommerce and Adobe
Commerce installations.loyaltylion.init
should be called once per page load to initialize the LoyaltyLion SDK and (if applicable) authenticate the current logged in customer. You’ll need your LoyaltyLion site token to identify your store.
loyaltylion.init
should only ever been called once per page load. Calling
this method more than once throws an exception error and result in a slower
user experience.