Using WP Fusion and LearnDash, you can automatically add students to your CRM of choice when they register on your site.
You also can restrict access to course content using tags in your CRM, apply tags based on progress, and use tags as automated triggers for course and group enrollments.
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.
Lesson, topic, and quiz access rules
By default, if a course is protected by WP Fusion, then every lesson, quiz, and topic in that course will inherit the same access rules.
If needed you can override this by configuring the WP Fusion meta box on any lesson (or quiz or topic) individually. If access rules have been specified on any lesson, quiz, or topic, then those rules will take priority over the course settings.
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.
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.
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.
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.
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.
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.
WP Fusion’s settings for LearnDash groups can be found under Settings » Group Access Settings when editing any group.
Similar to Courses, the are two settings here:
- Apply tags – Enrolled: These tags will be applied to a user when they are enrolled in the group, either manually, via a free signup, or another plugin integration. They will not be removed if the student is removed from the group, and they do not affect automated enrollments.
- Link with Tag: Using this setting you can “link” a tag in your CRM with a LearnDash group. When this tag is applied, the user will automatically be enrolled in the group. If the tag is removed, the user will be un-enrolled. Likewise if the user is enrolled in the group (either manually or via a purchase) the linked tag will be applied, and if a user is removed from the group the linked tag will be removed.
- Link with Tag – Group Leader: This setting works similarly to Link with Tag, except for group leaders instead of group members. When this tag is applied, the user will automatically be set as the leader of the group. If the tag is removed, the user will be un-enrolled from the group leader position.
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.
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.
Using the LearnDash + ThriveCart extension you can automatically enroll new students into LearnDash courses after a successful ThriveCart purchase.
With LearnDash 3.4.0 and higher, WP Fusion can automatically detect new users imported from ThriveCart, and sync their randomly generated password back to your CRM for sending in a welcome email. To enable this, simply turn on the Return Password setting from the Webhooks section in the WP Fusion settings.
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.