Affiliates
Reward customer referrals with the ReferralCandy LMS integration
Turn satisfied learners into referrers and reward the course sales they bring in with the ReferralCandy LMS integration.
TL;DR
The ReferralCandy integration connects your school to a referral program, so customers who recommend your courses earn rewards and you can keep track of the referrals they send.
Stop relying on word of mouth alone. Reward customers who refer friends
Track referred sales. Course and bundle purchases count toward your referral program
Skip custom development. Paste your keys and one ready-made code snippet
Best for: Course creators who want satisfied learners to refer friends, family, and colleagues.
Available on all paid plans. Referrals cover courses and bundles, not subscriptions.
What you can do with ReferralCandy and LearnWorlds
Set up referral rewards
Prepare your referral program and rewards in ReferralCandy, then edit its landing pages to match your school.
Share your referral sign-up
Send your referral sign-up to users, friends, and partners so they can start recommending your courses.
Send material to referrals
Keep track of your program, promote it, and send exclusive material to your referrals.
Choose your affiliate option
Pick ReferralCandy, Refersion, or the built-in LearnWorlds affiliate management program to reward the people who promote you.
How LearnWorlds and ReferralCandy integrate
See what reaches ReferralCandy after setup. Data flows one way, from your LearnWorlds after-purchase page to ReferralCandy.
| LearnWorlds | ReferralCandy | Type of trigger |
|---|---|---|
| Buyer completes a course or bundle purchase | ReferralCandy code runs on the after-purchase page, LearnWorlds to ReferralCandy only | Automatic |
| First purchase after setup | Your ReferralCandy account activates and connects to LearnWorlds | Automatic |
How to set up the LearnWorlds and ReferralCandy integration
You need a ReferralCandy account and access to your school’s settings and website builder. At the end, your account connects with the first purchase.
1. Copy your plugin tokens
In ReferralCandy, open Profile → My Profile → Plugin tokens and copy the App ID and Secret Key, not the API keys. Requires: a ReferralCandy account.
2. Paste them in LearnWorlds
Open Settings → Integrations → Affiliates → ReferralCandy, paste the App ID and Secret Key, and click Save.
3. Add the after-purchase code
In the website builder, add the ReferralCandy code under Site custom code → Includes after purchase.
4. Insert your API keys
Copy the API keys from your ReferralCandy profile. Paste the API Secret Key on line 34 of the code and the API Access ID on line 54.
5. Add your school URL
In ReferralCandy, add your school under My Store → Store Settings → Store URL. The account connects after the first purchase. For the full setup guide, see the ReferralCandy help article.
What the ReferralCandy integration handles automatically
Run the after-purchase code
LearnWorlds automatically loads the ReferralCandy code on the after-purchase page when a buyer completes a purchase.
Activate the connection
The integration automatically activates your ReferralCandy connection when the first purchase happens after setup.
| What LearnWorlds handles automatically | What your team configures |
|---|---|
| Loads the ReferralCandy code after each purchase | Pastes the code and API keys into the website builder |
| Connects the account at the first purchase | Adds the school URL in ReferralCandy store settings |
| Covers course and bundle purchases for referrals | Sets up rewards and landing pages in ReferralCandy |
Who uses the ReferralCandy integration and how
Course creators growing through learner recommendations
Set rewards in ReferralCandy and share the referral sign-up with your learners. Referred course and bundle purchases count toward your program without manual tracking.
Schools rewarding partners who promote courses
Share your referral sign-up with partners, track their referrals in ReferralCandy, and send them exclusive material to promote your courses.
FAQs
Tracking runs on its own once setup is done. The ReferralCandy code on your after-purchase page picks up each purchase, and your account activates with the first one. Customers do need to join your referral program and share it for referrals to count.
All paid plans include the ReferralCandy integration, from Starter to High Volume and Corporate.
Yes. You connect it in Settings → Integrations → Affiliates with your plugin tokens, then add the ReferralCandy code to your after-purchase page in the website builder.
No. Referral sign-ups cover courses and bundles, not subscriptions.
The App ID and Secret Key from Plugin tokens go in your LearnWorlds Affiliates settings. The API Secret Key and API Access ID go in the after-purchase code, on lines 34 and 54.
Yes, if your learners already recommend your courses. Setup takes two sets of keys and one code snippet, and incentives for referrals can multiply the effect of each recommendation.
LearnWorlds has a built-in affiliate management program and also integrates with Refersion. The built-in tools track affiliate performance, revenue, and referred customers. Browse every option on the LearnWorlds integrations page.
Published:
Last Update:


