LearnDash Goals - Overview

The LearnDash Goals add-on allows the students to set weekly learning goals for themselves. Every minute learners spend watching videos on LearnDash LMS will count as progress towards their weekly goal.

Installation

  • Install and activate the LearnDash LMS plugin
  • Install and activate the LearnDash Goals Add-on
  • A new “Goals” sub-menu will be added under the LearnDash LMS menu on the WordPress dashboard.

Settings

General Settings

You can configure the add-on’s options by selecting “Goals” from the LearnDash LMS menu and going to the “General Settings” tab.

User Progress Circle Color

This option allows you to select the color that the circle that displays a user’s progress will have on the frontend.

Set Different Time Lapses

Go to the “Add Timelapse” field in this section to determine the different time goal options your students can choose from. Timelapses should be written as a number of minutes and separated by commas, as seen below.

You can add as many options for your students to choose from and determine their weekly study time goal.

This is how your students will see the different time options on the front-end:

Encouragement Notes

You can add custom messages to encourage your students to set and complete goals on your site under the Progress Messages section of the General Settings.

Default 

In this field, you can set the message that your students will see when they haven’t set a goal yet. This message can be used to encourage users to set new study goals.

Get started 

In this field, you can set the message that is displayed when users start, reset or edit their goal.

Resume progress 

In this field, you can set the message that is displayed to users that have started working towards a study goal, but haven’t completed it yet.  This message is used to motivate your students to study by reminding them of their goals.

Congratulations

In this field,  you can set the message that is displayed when users achieve the study goal they set.

Non logged in users

In this field,  you can set the message that is displayed in place of the “edit goals” button when the shortcode is viewed by a non-logged-in user.

Email Templates

The LearnDash Goal Setting add-on allows you to send email notifications to inform students about their progress. You can customize the content of these emails by navigating to LearnDash LMS > Goal setting and selecting the “Email Templates” tab.

Getting Started email

This email is sent when the user starts working towards a study goal or resets/edits a previously set goal. You can customize the following data on this email template:

  • From name: You can the name that will be displayed as the sender in this field. If left blank, the system will set a sender name by default.
  • From email: You can add the email of the sender in this field. If left blank, the system will add the admin’s email as the sender’s email.
  • Subject: In this field, you can set the email’s subject.
  • Message: Here you can add the content or body of the email. HTML is supported if you enable the “Allow HTML” option below.

Congratulations email

This email is sent to users when they successfully complete their study goal. You can customize the following data on this email template:

  • From name: Add the name that will be displayed as the sender in this field. If left blank, the system will set a sender name by default.
  • From email: You can add the email of the sender in this field. If left blank, the system will add the admin’s email as the sender’s email.
  • Subject: In this field, you can set the email’s subject.
  • Message: Here you can add the content or body of the email. HTML is supported if you enable the “Allow HTML” option below.

License Key Configuration

To configure the add-on’s license key go to LearnDash LMS > Goals and select the “License Option” tab. Then add your License Key on the corresponding field. You can find your license key in the email you received when you completed your purchase.

Shortcodes

In the Shortcodes tab, you will find the following shortcodes that can be used with the LearnDash Goals add-on:

[ld_goals_user_weekly_goal]

You can use the [ld_user_weekly_goal] shortcode to display the LearnDash Goals add-on data on any page on your site.

When a user hasn’t set any goal, this is what they will see on the front-end: After clicking on the button, they will then be presented with the different options they can choose from to set their weekly study goal. After the goal is set, the student will be able to see their progress, represented in a circle, as well as the date frame for their goal and the encouragement notes set from the add-on settings corresponding to the goal-achievement status. 

Students can go back to this LD Goals interface to remove or edit their goal at any time by clicking on the “edit goal” button.

[ld_goals_user_goal_progress]

The [ld_goals_user_goal_progress] allows you to display a box that displays data on the student’s goal progress. This shortcode only displays the users’ progress, but doesn’t include the option to edit or set goals.

This is how this shortcode looks like on the front-end: We recommend placing this shortcode in the learning area, for example, at the end of the course or lesson page, to encourage students to continue learning.

[ld_goals_video url=" insert valid URL here" video_type="specify video location here"]Goals Video[/ld_goals_video]

In order for the LearnDash Goals add-on to track the time your students spend watching video lessons, videos have to be inserted using this shortcode. The add-on enables you to insert videos stored locally or from YouTube or Vimeo.

You can alter the shortcode by setting different parameters. Here is a list of all shortcode parameters, and accepted values:

  • url= Valid Video Url
  • video_type = Any one from given options (youtube, vimeo, local)

You can also insert video lessons by clicking on the “Add Goals Video” button that appears on a lesson’s edit page (Classic editor) after progress tracking is enabled.

Enable Progress Tracking For LearnDash Lessons

In order for the LearnDash Goals add-on to monitor student progress, it must track the minutes each student spends studying. This is done by tracking the minutes spent watching video lessons on your course.

In order to make the video visible in the course and enable the time-tracking feature, you must navigate to the settings of any specific LearnDash course, lesson or topic and enable the  “Enable LearnDash Goals Video Progression” option.Additionally, for tracking the time spent watching the video lessons, videos must be added using the [ld_goals_video url=" insert valid URL here" video_type="specify video location here"]Goals Video[/ld_goals_video] shortcode.

Videos can also be added to the lesson page using the “Add Goal Setting Video” button that appears on each Lesson’s edit page (with the Classic Editor). This button enables you to directly enter the video name, video URL, select the video type into corresponding fields to automatically generate the shortcode and insert it on the lesson’s page. Note: This add-on is not able to track time spent browsing through lesson pages, only minutes spent watching videos. As a result the add-on only works when video lessons are used. Any videos added directly to a lesson, without using the shortcode, won’t be eligible for student study-time tracking with this add-on.

Setting A New Goal

To set a goal, your students need to go to any page that contains the LearnDash Goals [ld_user_weekly_goal] Shortcode. 

  • Click on the “edit goal” button located at the bottom of the LearnDash Goals box display to set a new goal.
  • A pop-up window will appear, where the user can select among the different study time options.
  • Click on the “set goal” button to save the time goal of your choice.

Resetting/Editing Goals

To reset or edit their goals, students need to go to any page that contains the LearnDash Goals [ld_user_weekly_goal] Shortcode.

  • Click on the “edit goal” button located at the bottom of the LearnDash Goals box display to edit or delete your current goal.
  • To edit your weekly goal, choose a new option and click on the “Set Goal” option to save your new goal.
  • To delete your weekly goal, click on the “Remove Goal” option.