Connecting Moodle to Braze
Moodle is self-hosted open-source learning management, used mostly by institutions where enrolment and payment are usually two different systems. Braze is mobile-first lifecycle messaging, which means it resolves to a user rather than to a click and its most valuable channels — push and in-app — exist nowhere near a browser. The join between them succeeds or fails on one thing: whether the Braze external user ID reaches the Moodle enrolment before the conversion happens, because Braze can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Moodle learner events in Braze, keyed on your SSO identifier
Use as Braze external_id whichever Moodle identifier matches your other systems, usually the SSO identifier stored as username or ID number, not Moodle's internal user ID. Send paid enrollment, first lesson opened, overdue assignment and course completion. Braze push can't reach the standard Moodle app, so decide which system sends each message.
Braze needs one stable external_id per person, and Moodle offers several candidates: its internal user ID, the username and the ID number field. Use whichever matches the ID your other systems already send to Braze. For an institution behind single sign-on, that is usually the identifier from the identity provider, which Moodle often stores as the username or ID number. Using Moodle's internal user ID creates profiles that never merge with the person your website and app already know.
Be clear about which Braze channels you can reach. Braze is strongest in push and in-app messages, and those need your own app with the Braze SDK. The standard Moodle app is published by Moodle, so you cannot add Braze to it, and learners using it will not receive Braze push. Email and your own website or app remain.
Within that, Moodle has events nobody else has: a paid enrollment, a first lesson opened, an assignment overdue, a course completed. A learner who paid and has not logged in for ten days is the strongest re-engagement trigger in the stack. Remember that Moodle sends its own notifications for deadlines and forum posts, and decide which system owns which message, or learners hear about the same overdue assignment twice.
Moodle → Braze · what breaks
Why this join usually fails — Moodle → Braze
- 01
The Braze external user ID never reaches Moodle
Moodle is typically behind a login and often behind a separate marketing site, so the click identifier has to survive from a public page through registration into a user profile field. Institutional single sign-on frequently breaks that chain entirely.
- 02
Free enrolments outnumbering paid ones
Self-enrolment, cohort sync and manual enrolment all create the same record type as a paid one. Counting them teaches bidding to find people who join free courses.
- 03
Duplicate events sending duplicate push notifications
A duplicate here is visible to your customer on their lock screen, twice, and the second one is the reason they turn push off permanently. This is a more expensive mistake than a double-counted conversion in an ad platform, because the damage is not recoverable.
- 04
Nothing reconciles afterwards
Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.
Moodle → Braze · the fix
What working looks like — Moodle → Braze
The Braze external user ID on every enrolment
Conversions arriving in Braze
The event lands on the user profile, triggers whatever campaigns depend on it, and becomes available for segmentation across push, email and in-app.
Reconciled against the source
Moodle → Braze · architecture
How Moodle and Braze actually connect
- 1
Moodle holds the truth
Moodle supports several enrolment methods at once — self-enrolment, manual, cohort sync, payment plugins — and most of them are free. Only the paid methods represent revenue and the others will swamp any blended count.
- 2
Braze needs a click to match
Braze needs the external user ID and a well-named event with its properties. An event with no external ID lands on an anonymous device profile that may never merge with the real user.
- 3
The identifier is the bridge
The Braze external user ID, captured at the visit and carried into the Moodle enrolment.
- 4
The event source decides reliability
Send paid enrolments only, from the server. Free and cohort-synced enrolments must be excluded or the conversion feed is dominated by activity that is not revenue.
- 5
Deduplication at the destination
Braze does not deduplicate for you. A purchase sent from both your app SDK and your server produces two events, two campaign triggers and potentially two push notifications to a customer who bought once.
Moodle → Braze · normal or broken
Working vs. broken, side by side — Moodle → Braze
Normal, not a fault
The Braze external user ID present on the enrolment
Sent from the Moodle enrolment event via a webhook plugin or scheduled export
Deduplicated correctly
Braze does not deduplicate for you. A purchase sent from both your app SDK and your server produces two events, two campaign triggers and potentially two push notifications to a customer who bought once.
Reconciles with the source
Actually broken
The Braze external user ID missing on most records
Moodle is typically behind a login and often behind a separate marketing site, so the click identifier has to survive from a public page through registration into a user profile field. Institutional single sign-on frequently breaks that chain entirely.
Sent from the browser
Self-enrolment, cohort sync and manual enrolment all create the same record type as a paid one. Counting them teaches bidding to find people who join free courses.
Counted twice, or not at all
A duplicate here is visible to your customer on their lock screen, twice, and the second one is the reason they turn push off permanently. This is a more expensive mistake than a double-counted conversion in an ad platform, because the damage is not recoverable.
Nobody has reconciled it
Moodle → Braze · diagnose
Diagnostic order — Moodle → Braze
- 01
Count enrolments carrying the Braze external user ID
- 02
Follow one real conversion end to end
- 03
Break down enrolments by enrolment method
If paid methods are a small minority, that minority is the only thing that should ever reach an ad platform.
- 04
Send a test purchase and read the user profile's event stream
One event or two? Check whether the SDK is already sending the same event before adding a server source, and check that the external ID matches the signed-in user rather than creating a new profile.
- 05
Read the match rate, not the success message
Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.
Moodle → Braze · prove
How it gets proven — Moodle → Braze
Source of truth
Moodle's enrolment records in your own database, filtered to paid enrolment methods.
- The Braze external user ID confirmed present on a live enrolment.
- The user profile confirmed to show one event per conversion, with device and user profiles correctly merged.
- Paid enrolments confirmed separated from free and cohort-synced ones before anything is sent.
Moodle → Braze · free audit
What we check in the free audit
- Count enrolments carrying the Braze external user ID
- Follow one real conversion end to end
- Break down enrolments by enrolment method
- Send a test purchase and read the user profile's event stream
- Read the match rate, not the success message
Checked against
Moodle's enrolment records in your own database, filtered to paid enrolment methods.
Free30 minutesNo obligation
Moodle → Braze · when not to buy
When you don't need this — Moodle → Braze
- Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the Braze external user ID.
- If your Moodle is purely internal training with no paid enrolment, there is no conversion here to measure.
- If you have no mobile app and no push channel, Braze is a large piece of infrastructure for a job an email platform already does.
Moodle → Braze · what we deliver
What gets built — Moodle → Braze
Identifier capture into Moodle
Capture the identifier on the public site and write it to a Moodle user profile custom field at account creation, so later paid enrolments can be traced back.
Event source: the Moodle enrolment event via a webhook plugin or scheduled export
Send paid enrolments only, from the server. Free and cohort-synced enrolments must be excluded or the conversion feed is dominated by activity that is not revenue.
Dispatch to Braze
The Braze user track endpoint, posted server-side from your order or billing system with the external user ID and event properties.
Reversals where they exist
Un-enrolments and refunds where a payment plugin is used should reduce the reported figure.
Written guarantee
95%+ tracking accuracy
Measured against Moodle's enrolment records in your own database, filtered to paid enrolment methods.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Moodle → Braze questions, answered
The identifier your other systems already use, usually the SSO ID stored in Moodle's username or ID number field, not Moodle's internal user ID.
No. The standard Moodle app is published by Moodle and cannot carry your Braze SDK. Use email or your own app.
Almost always because the Braze external user ID never reached the Moodle enrolment. Moodle is typically behind a login and often behind a separate marketing site, so the click identifier has to survive from a public page through registration into a user profile field. Institutional single sign-on frequently breaks that chain entirely. Measure coverage before debugging the dispatch.
Braze identifies people by an external_id you assign, usually your own user ID, with anonymous device profiles merged in once a user signs in. There is no click identifier at all. Getting the external ID right is the entire integration; getting it wrong fragments one customer into several profiles who each receive the same campaign.
The Moodle enrolment event via a webhook plugin or scheduled export. Send paid enrolments only, from the server. Free and cohort-synced enrolments must be excluded or the conversion feed is dominated by activity that is not revenue.
Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.
More on Moodle → Braze
- Moodle → Google AdsConnecting Moodle to Google Ads
- Moodle → MetaConnecting Moodle to Meta Conversions API
- Moodle → GA4Connecting Moodle to GA4
RELATED GUIDES
Where Moodle → Braze fits in the rest of your tracking
- Tutor LMS → BrazeConnecting Tutor LMS to Braze
- LearnDash → BrazeConnecting LearnDash to Braze
- iSpring → BrazeConnecting iSpring Learn to Braze
- Moodle → Marketing CloudConnecting Moodle to Salesforce Marketing Cloud
- Moodle → IterableConnecting Moodle to Iterable
- Tutoring and test prepConversion tracking for tutoring, measured in enrolled packages
- LearnWorlds → BrazeConnecting LearnWorlds to Braze
- Docebo → BrazeConnecting Docebo to Braze
Free · 30 min
Get Moodle and Braze joined properly
Free30 minutesNo obligation
