Stay passes a hashed one time link across the following supported platforms to allow customers to login without going through a 2FA flow! These can be used in any email or SMS that incites customers to take action.
Klaviyo View Portal URLs
For Klaviyo Campaigns:
Use the following structure to direct customers to their subscription portal:
https://[REPLACE WITH YOUR SHOP NAME].myshopify.com/apps/retextion#/login?action=view_portal&customerId={{ person.rtx_customer_hash }}For Klaviyo Flows:
We pass a one-time login link parameter token with our Klaviyo events. You can add use the following structure to facilitate customer login:
https://[REPLACE WITH YOUR SHOP NAME].myshopify.com/apps/retextion/?token={{event.stay_token}}&subscriptionId={{ event.retextionSubscriptionID }} OR to require login (without pre-authentication token), use this link:
https://[REPLACE WITH YOUR SHOP NAME].myshopify.com/apps/retextion#/login?action=view_portal&customerId={{ person.rtx_customer_hash }}&subscriptionId={{ event.retextionSubscriptionID }}Postscript View Portal URLs
Using the one time login link parameter that is passed with Postscript events, the URL should be structured as follows:
https://[REPLACE WITH YOUR SHOP NAME].myshopify.com/apps/retextion/?token={{initial_event.get('Loginlink')}}Attentive View Portal URLs
Using the one time login link parameter that is passed with Attentive events, the URL should be structured as follows:
https://[REPLACE WITH YOUR SHOP NAME].myshopify.com/apps/retextion/?token={{triggerEvent.custom[‘Loginlink’]}}Native Stay Email View Portal URLs
Navigate to the element you wish to link from, and input the {{customer.login_link}} merge tag within the URL input. Select your target element as New or Same Tab.

