Skip to main content
Moodle → AttentiveIntegration guide

Connecting Moodle to Attentive

Moodle is self-hosted open-source learning management, used mostly by institutions where enrolment and payment are usually two different systems. Attentive is SMS, where the identifier is a phone number, the consent rules are legal rather than advisory, and a mistake reaches the customer's pocket within seconds. The join between them succeeds or fails on one thing: whether the subscriber's phone number reaches the Moodle enrolment before the conversion happens, because Attentive can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Texting Moodle learners through Attentive: consent and age first

Collect SMS opt-in through Attentive's sign-up on your public course pages; Moodle phone fields aren't marketing consent. Filter out learners under 18 before anything leaves Moodle. Send only paid enrollments from the Enrolment on payment method and course completions, with phones normalized to E.164, checking each event fires once.

Moodle's user profile has phone fields, and a learner may well have filled them in. That is a contact detail for the course, not consent to receive marketing texts, and Attentive needs the second. If you want SMS for course sales, collect opt-in through Attentive's own sign-up on your public course pages, not by exporting Moodle's phone fields.

Many Moodle sites also serve learners under 18, from schools to youth programs. Do not send those learners to an SMS marketing tool at all; filter on the profile data or the cohort before anything leaves Moodle. For an adult course seller, the events that make sense are the commercial ones: a paid enrollment, which should stop abandoned-checkout texts, and a course completion, which can start an offer for the next level.

The phone fields in Moodle are free text, with numbers typed in every format, so normalize to E.164 before matching against Attentive subscribers. Send only paid enrollments from the Enrolment on payment method, not self-enrollments in free taster courses. Otherwise every learner who joined a free course gets a text written for a paying customer, and it costs per message. Check that the Moodle event fires once per enrollment, because a course reset or re-enrollment can produce a second one.

Moodle → Attentive · what breaks

Why this join usually fails — Moodle → Attentive

  1. 01

    The subscriber's phone number 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

    Consent state treated as a tracking detail rather than a legal one

    Sending an event is not the same as being allowed to message the person it describes. US SMS marketing is governed by express written consent requirements with statutory damages per message, and "the integration sent it" is not a defence. Consent state has to be checked at send time, in Attentive, not inferred from the fact that an event arrived.

  4. 04

    Nothing reconciles afterwards

    Attentive shows the event on the subscriber record and the journey it triggered. Check the subscriber's consent status alongside, because that is the field that decides whether anything should have happened.

Moodle → Attentive · the fix

What working looks like — Moodle → Attentive

  • The subscriber's phone number on every enrolment

  • Conversions arriving in Attentive

    The event lands on the subscriber, triggers the journeys that depend on it, and becomes available for segmentation.

  • Reconciled against the source

Moodle → Attentive · architecture

How Moodle and Attentive 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

    Attentive needs a click to match

    Attentive needs the subscriber's phone number, the event name and its properties. It also needs the subscriber to have consented — an event about someone who never opted in cannot legally be messaged, whatever the event says.

  3. 3

    The identifier is the bridge

    The subscriber's phone number, 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

    Attentive does not deduplicate for you. A purchase sent twice can trigger a journey twice, and the customer receives two texts. Unlike an email, a duplicate SMS costs you money per send and irritates the recipient measurably more.

Moodle → Attentive · normal or broken

Working vs. broken, side by side — Moodle → Attentive

Normal, not a fault

  • The subscriber's phone number present on the enrolment

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

  • Deduplicated correctly

    Attentive does not deduplicate for you. A purchase sent twice can trigger a journey twice, and the customer receives two texts. Unlike an email, a duplicate SMS costs you money per send and irritates the recipient measurably more.

  • Reconciles with the source

Actually broken

  • The subscriber's phone number 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

    Sending an event is not the same as being allowed to message the person it describes. US SMS marketing is governed by express written consent requirements with statutory damages per message, and "the integration sent it" is not a defence. Consent state has to be checked at send time, in Attentive, not inferred from the fact that an event arrived.

  • Nobody has reconciled it

Moodle → Attentive · diagnose

Diagnostic order — Moodle → Attentive

  1. 01

    Count enrolments carrying the subscriber's phone number

  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

    Verify that events for non-consented customers cannot trigger a send

    Check the journey's entry conditions, not the event pipeline. The pipeline will happily deliver an event about someone who never opted in; the journey is what must refuse to act on it.

  5. 05

    Read the match rate, not the success message

    Attentive shows the event on the subscriber record and the journey it triggered. Check the subscriber's consent status alongside, because that is the field that decides whether anything should have happened.

Moodle → Attentive · prove

How it gets proven — Moodle → Attentive

Source of truth

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

  • The subscriber's phone number confirmed present on a live enrolment.
  • Events confirmed on subscriber records with consent state verified, and a test proving a non-consented profile does not trigger a send.
  • Paid enrolments confirmed separated from free and cohort-synced ones before anything is sent.

Moodle → Attentive · free audit

What we check in the free audit

  • Count enrolments carrying the subscriber's phone number
  • Follow one real conversion end to end
  • Break down enrolments by enrolment method
  • Verify that events for non-consented customers cannot trigger a send
  • 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 → Attentive · when not to buy

When you don't need this — Moodle → Attentive

  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the subscriber's phone number.
  • If your Moodle is purely internal training with no paid enrolment, there is no conversion here to measure.
  • If you do not have a consented SMS list, the integration is the least of the work. Building the list compliantly comes first, and no event pipeline substitutes for it.

Moodle → Attentive · what we deliver

What gets built — Moodle → Attentive

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

    The Attentive events API, posted server-side from your order system with the subscriber's phone number and the 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.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Moodle → Attentive questions, answered

Only for learners who opted in to SMS through a compliant sign-up. A phone number in a Moodle profile is not marketing consent.

Free · 30 min

Get Moodle and Attentive joined properly

Free30 minutesNo obligation