1. Home
  2. AccessAlly
  3. Creating Courses
  4. How To Create An Auto Login After Registration for Free Courses

How To Create An Auto Login After Registration for Free Courses

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.

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.

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.

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:

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.

Icon showing an exclamation mark meaning warningPlease 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.

Remember that some pages on your membership site may require additional permission tags to view. If you wish to send new subscribers to these pages, please make sure that the proper permission tags are added in your opt-in form’s settings.

Inside your membership site, go to: AccessAlly > 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:

A screenshot of the WordPress auto login after registration feature.

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.

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.

Click copy.

Next, access the opt-in form’s settings in your CRM, so you can add the URL from the previous step.

INFUSIONSOFT / KEAP

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.

A screenshot of the WordPress auto login after registration feature.

ONTRAPORT

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.

CONVERTKIT

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.

ConvertKit_- Thank You Page URL

ACTIVECAMPAIGN

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.

DRIP

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:

  1. Access your new opt-in form in an incognito window.
  2. 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: john@gmail.com could use john+test1@gmail.com, john+test2@gmail.com, etc.

  3. 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).
  4. 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.

    Screenshot of Users

    Screenshot of Tags

  5. Repeat the testing steps again. Testing multiple times is a good practice.

 

*This feature is only available for new users to the site. For current members of your site, if they opt-in to a form that is configured with this feature, they will not be auto-logged in for security purposes. Rather, 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.
Updated on December 3, 2019

Was this article helpful?

Related Articles

NO QUESTION GOES UNANSWERED

If you have any questions, we're just an email away.

We take your success seriously, and you'll always get a speedy reply from a real person during business hours.

Opt-In-Laptop.png

AccessAlly is the #1 WordPress Course and Membership Solution for Industry Leaders

WATCH THE DEMO

You'll get follow-up emails about AccessAlly and new features. Opt out anytime. Full privacy policy here.