With most course membership site set ups: someone opts into a free course, their information is sent back to the email marketing platform, a user is generated on the membership site, and the login info is sent by email.
Unfortunately, by the time the email arrives the subscriber might have forgotten about signing up or lost interest.
That’s why it’s a great idea to set up an auto login after registration for your free courses, so new subscribers can immediately access what they opted in for on the thank you page.
Please note: For current members of your site, if they opt-in to a form that is configured with an On Demand Login, they will not be auto-logged in for security purposes.
They will be directed to a login page to enter their credentials and verify their identity. They’ll still have access to what they opted in for, but this stops strangers from maliciously entering someone else’s email to gain access to another person’s account.
How A WordPress Auto Login After Opt-In Works
An auto-login after a free course registration works when you’ve built your free course inside your AccessAlly membership site, right alongside your paid courses.
AccessAlly will then generate a special link known as an On Demand Login. All you have to do is take this link, use it as your opt-in Thank You page URL, and voila.
The magic happens:
A website visitor sees your offer for a free course, they opt-in, and immediately are redirected inside your membership site, logged in under their own, brand-new user.
This is 5-star treatment at its finest.
Why free courses belong inside your membership site?
By creating your free course inside your membership site, you can deliver the same, high-quality, professional experience across the board, making it more likely that your free course students will sign up for your paid material.
Here’s an article that talks about the strategy more in-depth: The Login Optin™ Strategy
Create a regular opt-in form following the instructions from your email marketing platform:
- ConvertKit Opt-in Form Set Up
- ActiveCampaign Opt-in Form Set Up
- Drip Opt-in Form Set Up
- Infusionsoft/Keap Opt-in Form Set Up
- Ontraport Opt-in Form Set Up
How to Set Up An Auto Login After Opt-in for your WordPress Site
The steps below assume that you have your AccessAlly site set up and that your free course is built and ready to go.
Please Note: The On Demand Login takes care of creating the new user & password in AccessAlly.
Please DO NOT use the genpass webhook in any campaign where you want people to be auto-logged in through an On-Demand Login, as this will cause interference. What can happen is that the CRM might generate the user before the client has a chance to be automatically logged in, so they will not be able to access your content.
Step 1: Choose Your Redirect URL
What page inside your membership site do you want users to be sent to when they submit the opt-in form?
It can be any page: a course page or module, your main dashboard, or any other AccessAlly page.
Choose your URL and get it ready for the next step.
Step 2: Create an On-Demand Login Link
Inside your membership site, go to: AccessAlly > Settings > Custom Operations > Add New.
Name your custom operation, and make sure it’s set to on demand login information
This screenshot shows how the settings will appear:
Add the URL to the page you want to use in the “Redirect to this URL on successful login” area.
IMPORTANT: Click on the “save” button at this point.
Step 3: Add the New Link To Your Opt-In, As Your Thank-You Page URL
Now, you’ll need to copy the URL created by AccessAlly. This will be used as the “thank you page” URL in your opt-in form settings.
Next, access the opt-in form’s settings in your CRM, so you can add the URL from the previous step.
When editing your Infusionsoft/Keap form, go to Thank-You Page. Here, make sure the Thank You page is set to display a Web Address. Paste the URL into the field and save.
When setting up your opt-in form, go to SETTINGS and make sure the “Custom URL” is selected. Paste the URL into the field and save.
When setting up your opt-in form, go to SETTINGS and make sure the “Redirect to Another Page” is selected. Paste the URL into the field and save.
When editing your ActiveCampaign form, go to Options. In the “On Submit” section, make sure it’s set to Open URL. Paste the URL into the field and save.
When editing your Drip form, go to Post-Signup. In the “Custom Post Submission Page” section, paste the URL into the field. Make sure to check the box directly below in order to activate this. Then, click save.
Step 4: TEST
As always, please test your setup before making it live. A good workflow to test this feature is:
- Access your new opt-in form in an incognito window.
- Fill out the opt-in form using an email address that does not belong to a current membership site user.Pro Tip: if you have a “gmail” or Google Apps account, you can create any number of new test emails by appending the “plus sign” and any text, and you’ll receive the emails in your existing inbox. For example: firstname.lastname@example.org could use email@example.com, firstname.lastname@example.org, etc.
- After submitting the form, you should be automatically logged into the membership site and redirected to the designated URL (the one you added to the settings in Step 1).
- You can also check that the user you just signed up with has the right tags, by going to Users and looking under the AccessAlly area.
- Repeat the testing steps again. Testing multiple times is a good practice.
Optional: Sending the On-Demand Login Link in an Email Instead
You have the option to send the on-demand link in an email instead of using the link on your form. Copy the Email Trigger link, and insert that into the email in your CRM.
Using either of these options you can add UTM parameters into the link. For example the link above is:
You can add UTM parameters to the end of this in your email. For example:
This also allows you to add any custom field from your CRM into the UTM parameters. You would just need to add the customization for that field in the correct place.