- Installing SureDash
- Download and Access Your SureDash License
- Updating SureDash
- Understanding Spaces and Space Groups in SureDash
- Add a Space Content Type in SureDash
- How to Set Up a SureDash Course Space
- How to Set Up Google Login in SureDash: A Step-by-Step Guide
- How to Set Up Facebook Login in SureDash: A Step-by-Step Guide
- Understanding the Customize Portal in SureDash
- How To Add a Logo To The SureDash Portal
- Setting up Space Groups
- Hidden Spaces in SureDash
- How to Create a Feed Space
- How to Set up “Course” space in SureDash?
- How to Create a “Discussion” Space in SureDash
- How To Set Up A Private Discussion Space In SureDash
- Creating a “Single Post/Page” Space in SureDash
- How to Set Up a “Link” Space in SureDash
- How to Configure SureDash Space Layouts
- Understanding the “Single Post/Page” Space Type in SureDash
- How to set up Giphy Integration?
- How to Set up Presto Player with SureDash
- SureDash & SureMembers Integration: How to Restrict Access to Spaces and Content
- How to Integrate SureCart with SureDash
- How to Integrate OttoKit with SureDash
- Kadence Theme Compatibility with SureDash
- Using Media Offloading in SureDash
- How to Regenerate the Default SureDash Pages
- Recommended Hosting for SureDash
- Customizing the Portal Slug Using a Filter
- How to Edit SureDash Space or Post with Any Page Builder
- How to Use the Profile URLs in SureDash
- How to Manage Navigation Sidebar Top Sticky Offset in SureDash
- Custom Classes Used in Site Editor and Their Purpose
- How to Reset the Portal Template in SureDash?
- Media Handling in the Resource Library
- Location Where Users Can View Their Accessed Resources in SureDash
SureDash Course Progress Hooks
Overview
SureDash provides course progress action hooks that developers can use to track how users move through courses and lessons.
These hooks make it possible to connect SureDash with external tools like:
- CRMs such as WP Fusion, ActiveCampaign, HubSpot
- Automation tools
- Analytics or reporting systems
- Custom plugins or internal dashboards
Using these hooks, developers can run custom code when a user finishes a lesson or completes an entire course.
This solves the common request for syncing course progress data with third party systems.
Why These Hooks Matter
Many integrations need more than just content protection.
They need to know things like:
- When a user completes a lesson
- When a user finishes a course
- Which course or lesson was completed
- Which user completed it
SureDash course progress hooks provide these signals so external systems can react correctly.
Examples:
- Tag a user in a CRM when they complete a course
- Trigger an automation when a lesson is finished
- Update a custom progress report
- Enroll users into the next workflow
Available Hooks
1. suredash_lesson_completed
Triggered when
A user completes a lesson inside a course.
Typical use cases
- Send a lesson completion event to a CRM
- Update user progress in an external system
- Unlock related automation steps
2. suredash_course_completed
Triggered when
A user completes all lessons in a course.
Typical use cases
- Apply a “Course Completed” tag
- Trigger certificates or follow-up emails
- Move users into advanced courses or funnels
Hook Data Provided
Each hook passes useful data that developers can work with:
- User ID
- Course ID
- Lesson ID (for lesson hook)
- WordPress user object
This makes it easy to connect SureDash progress with external tools and map it to the correct user and course.
Example Usage
Below is a simple example showing how a developer might listen for course completion.
add_action( 'suredash_lesson_completed', function( $lesson_id, $course_id, $user_id ) {
// Example: Send data to a CRM
// Example: Apply a tag
// Example: Trigger a webhook
});
add_action( 'suredash_course_completed', function( $course_id, $user_id ) {
// Example: Send data to a CRM
// Example: Apply a tag
// Example: Trigger a webhook
});
This code runs automatically when a user finishes a course.
Integration Notes
- These hooks are designed for developers and integration partners.
- Third party plugins like WP Fusion can use these hooks to build deeper integrations.
- SureDash handles progress tracking internally, and these hooks expose that data safely.
Summary
- SureDash supports course and lesson progress tracking hooks
- Developers can react to lesson and course completion
- Enables CRM sync, automation, and reporting
- Removes the limitation of “content protection only” integrations
If you are building an integration and need help understanding these hooks, our team is happy to assist.
We don't respond to the article feedback, we use it to improve our support content.