10.2 Set Auto-login to WordPress Website
Last updated
Last updated
To ensure everything stays secure, let's follow these steps carefully together!
Step 1: In the plugin options page, add an authentication key. This will work as a password, and you should change it as you would change your password. If you want to disable the auto login feature, leave this field blank.
Step 2: Create a custom value in your CRM named lcw_auth_key
and set the same value you added in step 1.
Step 3: Create a trigger link in your CRM with the following pattern
website_link?lcw_auto_login=1&lcw_auth_key=authentication_key&email=customer_email&redirect_to=slug_of_the_page_where_you_want_to_redirect_after_login
Explanation:
website_link: the website link where customers will be logged in
lcw_auto_login: It's a required parameter & the value will be always 1
lcw_auth_key: the authentication key that you provided in step 1.
email: The email of the customer who will be logged in.
redirect_to: This is an optional parameter. Add the slug of a page where you want to redirect your customer after login. Default value: home page.
Provide this link to the customer for direct access to their purchased item. You can send the trigger link directly or link it to a text.