LearnDash

Overview

Using WP Fusion and LearnDash, you can automatically add students to your CRM of choice when they register on your site. You can also restrict access to course content, apply tags based on progress, and use tags as automated triggers for course enrollment.

Courses, Lessons, & Topics

You can restrict access to Courses, Lessons, and Topics based on a user’s CRM tags, and redirect them to another page (like a sales page) if they don’t have the required tags.

You can also apply tags to a user when they’ve begun a course, lesson, or topic, and likewise when it has been marked complete.

See the screenshot below for an example of the options WP Fusion offers you when configuring a LearnDash course or lesson:

For more information on restricting access to content and the main WP Fusion meta box, see the documentation here.

Course-specific settings / Auto-enrollment

WP Fusion also adds some options specific to LearnDash courses. You can find these on the Settings panel when editing any course, in the Course Access Settings box:

There are two settings here:

  • Apply tags – Enrolled:  These tags will be applied to a user when they are enrolled in the course, either manually, via a free signup, or another plugin integration. They will not be removed if the student is removed from the course, and they do not affect automated enrollments.
  • Link with tag: Using this setting you can “link” a tag in your CRM with a LearnDash course. When this tag is applied, the user will automatically be enrolled in the course. If the tag is removed, the user will be un-enrolled.Likewise if the user is enrolled in the course (either manually or via a purchase) the linked tag will be applied, and if a user is removed from the course the linked tag will be removed.
Note: If you use an auto-enrollment tag, you should set the course price type to “Closed” to prevent users from getting automatically enrolled when they register. It’s also not necessary to use “Restrict access to this course” if the course type is Closed.
Note: Auto-enrollments are triggered when a user’s tags are modified or loaded from your CRM. Just setting a linked tag on a course will not automatically enroll everyone who has that tag. To trigger a refresh of your users’ tags (and any automated enrollments) you can run a Resync Tags operation from Settings » WP Fusion » Advanced » Batch Operations.
Note: WP Fusion only allows you to use a single linked tag for auto-enrollment into courses. For more info on this see the FAQ

 

Strategies for managing course access

There are two common ways to manage LearnDash course access with WP Fusion:

1. (Recommended) Use LearnDash to manage access to the course content, and WP Fusion to trigger enrollments into the course based on tags in your CRM.

This is our recommended setup since it has the best compatibility with LearnDash. With this setup you would:

  • Leave Users must be logged in to view this course un-checked in the WP Fusion meta box
  • Set the course access type to Closed
  • Set an auto-enrollment tag on the course

With this method, LearnDash handles the display of the course overview page based on whether or not a user is enrolled in the course.

This also works properly with Sample Lessons in LearnDash, and drip-feeding course content.

In this screenshot you can see a simple course that the user isn’t currently enrolled in. LearnDash shows a course overview, the price, and links to either purchase the course or log in.

By applying a tag in your CRM, a user can automatically be enrolled in the course (see Auto-enrollment above), and the course overview page will update accordingly.

When a user is enrolled in the course it will also properly update the LearnDash Course Grid, the BuddyBoss enrolled courses list, and any other plugins that work with LearnDash.

For handling course bundles or “all access passes”, you can also use auto-enrollment tags with LearnDash groups. This lets you create different collections of courses that are managed by a single auto-enrollment tag.

2. (Not recommended) Use WP Fusion to manage access to the course content, bypassing LearnDash’s access rules.

WP Fusion adds a meta box to every post and page on your site that allows you to protect your content using tags in your CRM, and redirect the user to another page if they don’t have the required tags.

Using this meta box you can also protect your LearnDash courses and course content based on CRM tags. With this setup you would:

  • Select Users must be logged in to view this course in the WP Fusion meta box, and choose some required tags to view the course
  • Either select a redirect in the meta box, or leave the redirect blank to display the restricted content message
  • Set the course access type to Open
  • Do not set an auto-enrollment tag on the course

With this method, every user on the site is automatically enrolled in the course, but they can only view the course content if they have the right tags.

In this screenshot you can see a course page that is protected by WP Fusion, using a CRM tag.

The problem with protecting the visibility of the course with a tag is that you lose all of the LearnDash options for customizing the page appearance when people aren’t enrolled. As well, the user will see themselves as enrolled in all courses, even if they don’t have access— which could be confusing for your students.

For that reason it’s recommended to let LearnDash handle protecting your course content by setting the course access type to Closed, and then using an auto-enrollment tag so that WP Fusion can update student enrollments.

Quizzes

WP Fusion also allows you to track LearnDash quiz engagement, by applying tags when a quiz is passed or failed. See the screenshot below for an example of the options.

 

Quiz Questions

Using WP Fusion you can sync the answers to individual quiz questions to custom fields in your CRM. This can be configured within the WP Fusion meta box when editing any single quiz question.

 

Groups

WP Fusion also supports linking a tag with a LearnDash Group. When this tag is applied, the user will automatically be added to the group. If the tag is removed, the user will be removed from the group.

 

Assignments

WP Fusion allows you to automatically tag students in your CRM when they upload an assignment to a LearnDash lesson.

This setting appears when editing any lesson where assignment uploads are enabled.

 

Meta Fields

WP Fusion adds several “pseudo” fields that enable syncing a student’s LearnDash progress to custom fields in your CRM. This can be configured under Settings » WP Fusion » Contact Fields.

The fields are:

  • Last Course Enrolled: When a student is enrolled in a course, the name of the course will be synced.
  • Last Lesson Completed: When a lesson is marked complete, the name of the lesson will be synced.
  • Last Lesson Completed Date: When a lesson is marked complete, the date and time will be synced.
  • Last Course Progressed: Whenever a student completes any content in a course (lesson, topic, quiz, etc.) the name of the course will be synced.
  • Last Course Completed: When a course is marked complete, the name of the course will be synced.
  • Last Course Completed Date: When a course is marked complete, the date and time will be synced.

You can use these fields to track progress in your CRM and potentially reduce the number of tags that need to be applied to a contact.

Note: These values will be synced to your CRM in real time as students progress through course content. Because this data is tracked by WP Fusion (and not LearnDash), it’s not possible to export the progress data from before you installed WP Fusion.

Batch Operations

WP Fusion includes a batch processing tool to retroactively apply tags in your CRM based on each user’s current course enrollments in LearnDash. This is found at Settings » WP Fusion » Advanced » Batch Tools.

When you run the LearnDash course enrollment statuses operation, WP Fusion will check the current course enrollments for each user on your site, and apply any tags configured for that course.

This will not apply any tags if the user is enrolled in a course as part of a LearnDash Group. We will be added a LearnDash groups enrollment statuses operation in a future update.

Was this helpful?