LC Wizard
  • 1. Installation
    • 1.1 Install LC Wizard into WordPress
  • 2. Establish connection
    • 2.1 Connect With The CRM
    • 2.2 Check the connection
    • 2.3 Create a new Highlevel APP
  • 3. Options
    • 3.1 Enable Content Protection
    • 3.2 No access redirection
    • 3.3 WooCommerce Purchase Trigger
    • 3.4 Apply a common tag for each order:
    • 3.5 Refresh Location data
    • 3.6 Add all WP users to GHL
  • 4. License Management
    • 4.1 Activate License
    • 4.2 Can I change the domain?
  • 5. Membership
    • 5.1 How membership works
    • 5.2 Why do you need this membership
    • 5.3 Create membership
    • 5.4 How to apply membership access
    • 5.5 Create a workflow to control membership tags
  • 6. Content protection
    • 6.1 For logged-in & logged-out user
    • 6.2 Content protection by tags
    • 6.3 Content protection by memberships
    • 6.4 Sync contact data with the CRM
    • 6.5 What if people haven't access to a page
  • 7. Custom Values & Custom Fields
    • 7.1 Custom values
    • 7.2 Custom Fields
    • 7.3 Contact Form 7 - Integration
  • 8. Shortcodes
    • 8.1 [lcw_contact_sync]
    • 8.2 [lcw_custom_value]
    • 8.3 [lcw_contact_field]
    • 8.4 [lcw_has_any_tags]
    • 8.5 [lcw_has_not_any_tags]
    • 8.6 [lcw_has_any_memberships]
    • 8.7 [lcw_has_not_any_memberships]
    • 8.8 [lcw_transactions]
    • 8.9 [lcw_post_grid]
  • 9. Woocommerce
    • 9.1 How to add tags to a contact upon a successful purchase
    • 9.2 How to add a contact to a specific workflow after a successful purchase
    • 9.3 Add tag - based on variation product
  • 9(a). Surecart
    • 9(a).1 SureCart Integration
  • 10. CRM <=> WordPress Communication
    • 10.1 Create a new WordPress user from Workflow
    • 10.2 Set Auto-login to WordPress Website
    • 10.3 Sync contact data from CRM to WP
    • 10.4 Add/ remove WP user role from workflow
  • 11. Troubleshooting trics
    • 11.1 If data doesn't sync
    • 11.2 Check the connection with the CRM and reconnect if needed
  • 12. Deloper Resources
    • 12.1 Action Hook: lcw_update_order_meta
    • 12.2 Action Hook: lcw_update_product_meta
  • 13. Affiliate program
    • 13.1 Benefits of Becoming an Affiliate
    • 13.2 Affiliate Sign-up link
  • 13. Recommended Plugins
    • 13.1 Query Monitor
    • 13.2 User Switching
Powered by GitBook
On this page
  1. 10. CRM <=> WordPress Communication

10.2 Set Auto-login to WordPress Website

Previous10.1 Create a new WordPress user from WorkflowNext10.3 Sync contact data from CRM to WP

Last updated 4 months ago

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:

  1. website_link: the website link where customers will be logged in

  2. lcw_auto_login: It's a required parameter & the value will be always 1

  3. lcw_auth_key: the authentication key that you provided in step 1.

  4. email: The email of the customer who will be logged in.

  5. 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.

// The trigger link will look like
{{ custom_values.membership_wp_website_link }}?lcw_auto_login=1
&lcw_auth_key={{ custom_values.lcw_auth_key }}
&email={{contact.email}}&redirect_to=/

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.