Skip to main content
Moodle → Customer.ioIntegration guide

Connecting Moodle to Customer.io

Moodle is self-hosted open-source learning management, used mostly by institutions where enrolment and payment are usually two different systems. Customer.io triggers messages from behaviour, which means an event you send is not recorded — it is acted on, usually within seconds, by sending something to a real person. The join between them succeeds or fails on one thing: whether the person identifier you assign reaches the Moodle enrolment before the conversion happens, because Customer.io can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Customer.io course nudges from Moodle activity without double emails

Let Customer.io send commercial and progress messages while Moodle keeps academic notifications. Key people on the Moodle username or ID number, with email as an attribute. Push only a few events, such as paid enrollment created, first course view and course completed, from a webhook plugin or scheduled log reader.

Moodle already emails learners: assignment due, forum reply, course enrolled. Customer.io would add another stream to the same inbox, so decide first what it is for. The defensible split is commercial and progress messages in Customer.io, such as a paid course started but not opened or a completion followed by the next level, while Moodle keeps the academic notifications it sends today. Without that split, a learner gets a Moodle reminder and a Customer.io nudge about the same lesson on the same morning.

Key Customer.io people on a stable ID rather than email. Moodle lets users edit their own email address in many configurations, and a changed address sent as the identifier creates a second person who restarts every campaign. Use the Moodle username or ID number, and send email as an attribute that can change.

The volume of events is the practical constraint. Moodle logs every page view and module completion, and forwarding the whole log will flood Customer.io with events no campaign uses. Pick a handful from Moodle's event system: enrollment created, through the paid method only for commercial campaigns, course viewed for the first time, and course completed. Push those from a webhook plugin or a scheduled job reading the log. Test against a staging Moodle, because a live campaign sends the moment an event arrives.

Moodle → Customer.io · what breaks

Why this join usually fails — Moodle → Customer.io

  1. 01

    The person identifier you assign 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.

  2. 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.

  3. 03

    A test event sending a real email

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  4. 04

    Nothing reconciles afterwards

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

Moodle → Customer.io · the fix

What working looks like — Moodle → Customer.io

  • The person identifier you assign on every enrolment

  • Conversions arriving in Customer.io

    The event lands on the person, evaluates against every campaign trigger and segment condition, and may send immediately.

  • Reconciled against the source

Moodle → Customer.io · architecture

How Moodle and Customer.io actually connect

  1. 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. 2

    Customer.io needs a click to match

    Customer.io needs the person identifier, the event name and any attributes the campaign conditions reference. An event whose attributes are missing will still trigger a campaign, which may then send a message with an empty placeholder in it.

  3. 3

    The identifier is the bridge

    The person identifier you assign, captured at the visit and carried into the Moodle enrolment.

  4. 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. 5

    Deduplication at the destination

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

Moodle → Customer.io · normal or broken

Working vs. broken, side by side — Moodle → Customer.io

Normal, not a fault

  • The person identifier you assign present on the enrolment

  • Sent from the Moodle enrolment event via a webhook plugin or scheduled export

  • Deduplicated correctly

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

  • Reconciles with the source

Actually broken

  • The person identifier you assign 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

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  • Nobody has reconciled it

Moodle → Customer.io · diagnose

Diagnostic order — Moodle → Customer.io

  1. 01

    Count enrolments carrying the person identifier you assign

  2. 02

    Follow one real conversion end to end

  3. 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.

  4. 04

    Confirm which workspace you are writing to before sending anything

    Environment separation is the whole safety mechanism in behaviour-triggered tools, and it is the thing most often skipped.

  5. 05

    Read the match rate, not the success message

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

Moodle → Customer.io · prove

How it gets proven — Moodle → Customer.io

Source of truth

Moodle's enrolment records in your own database, filtered to paid enrolment methods.

  • The person identifier you assign confirmed present on a live enrolment.
  • Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
  • Paid enrolments confirmed separated from free and cohort-synced ones before anything is sent.

Moodle → Customer.io · free audit

What we check in the free audit

  • Count enrolments carrying the person identifier you assign
  • Follow one real conversion end to end
  • Break down enrolments by enrolment method
  • Confirm which workspace you are writing to before sending anything
  • Read the match rate, not the success message

Checked against

Moodle's enrolment records in your own database, filtered to paid enrolment methods.

Get my free conversion tracking audit

Free30 minutesNo obligation

Moodle → Customer.io · when not to buy

When you don't need this — Moodle → Customer.io

  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the person identifier you assign.
  • If your Moodle is purely internal training with no paid enrolment, there is no conversion here to measure.
  • If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.

Moodle → Customer.io · what we deliver

What gets built — Moodle → Customer.io

  • 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 Customer.io

    The Customer.io Track API, posted server-side from your order or product system with the person identifier and event attributes.

  • 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.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Moodle → Customer.io questions, answered

No. Keep Moodle's academic notifications and use Customer.io for commercial and progress messages, so learners do not get two emails about one lesson.

Free · 30 min

Get Moodle and Customer.io joined properly

Free30 minutesNo obligation