Skip to main content
Moodle → The Trade DeskIntegration guide

Connecting Moodle to The Trade Desk

Moodle is self-hosted open-source learning management, used mostly by institutions where enrolment and payment are usually two different systems. The Trade Desk buys across the open internet rather than inside a walled garden, which means it cannot rely on a logged-in graph and has to work with identity you help it construct. The join between them succeeds or fails on one thing: whether Unified ID 2.0, derived from a hashed email reaches the Moodle enrolment before the conversion happens, because The Trade Desk can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Moodle and The Trade Desk: the payer is often not the learner

Send the purchaser, not the learner. Where Moodle's payment method takes the fee, the account's hashed email works for UID2. For bulk seat or separate checkouts, send one conversion per order with the buyer's hashed email and value. Never send minors or institutional enrollments, and treat view-through credit as unproven without a holdout.

Moodle looks ideal for UID2 at first glance: every learner is logged in and every account has an email. The catch is that the email on the Moodle account belongs to the learner, and on many paid enrollments the learner is not the person who saw the ad. An L&D manager buys seats for staff, a parent pays for a teenager, an employer's SSO creates the account. Matching the learner's hashed email to impressions credits the sale to someone who was never exposed.

So send the purchaser, not the enrollment list. Where Moodle's payment method takes the fee directly, the payer and the learner are the same account and the hashed email is the right identifier. Where seats are bought in bulk or through a separate checkout, send one conversion per order from that checkout with the buyer's hashed email and the order value, and leave the resulting Moodle enrollments out. Minors and institutional enrollments never go.

Expect a large share of what The Trade Desk reports to be view-through, since course buying is slow and researchers see display ads constantly along the way. Report click-through as the floor, compare paid enrollments in markets where you ran against markets where you did not, and treat the remainder as unproven until a holdout says otherwise.

Moodle → The Trade Desk · what breaks

Why this join usually fails — Moodle → The Trade Desk

  1. 01

    Unified ID 2.0, derived from a hashed email 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

    View-through conversions on the open internet

    A large share of what a DSP claims is view-through: the person saw a display impression and later converted without clicking. Some of that is real influence and some of it is coincidence, and no post-click reporting can separate them. Treat the click-attributed number as the floor and prove the rest with a holdout.

  4. 04

    Nothing reconciles afterwards

    The Trade Desk reports match rates on uploaded conversions. Read the match rate — a low one means your authenticated share is the constraint, and no amount of pipeline work will change that.

Moodle → The Trade Desk · the fix

What working looks like — Moodle → The Trade Desk

  • Unified ID 2.0, derived from a hashed email on every enrolment

  • Conversions arriving in The Trade Desk

    The conversion is matched to an impression or click where identity resolves, and feeds the bidding models.

  • Reconciled against the source

Moodle → The Trade Desk · architecture

How Moodle and The Trade Desk 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

    The Trade Desk needs a click to match

    The Trade Desk needs the conversion with a UID2 or a hashed email it can resolve, plus the value and timestamp. Conversions from anonymous visitors cannot be matched at all.

  3. 3

    The identifier is the bridge

    Unified ID 2.0, derived from a hashed email, 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

    Deduplication is on your conversion identifier. Because open-internet buying frequently runs alongside search and social, the more consequential deduplication is across platforms rather than within this one.

Moodle → The Trade Desk · normal or broken

Working vs. broken, side by side — Moodle → The Trade Desk

Normal, not a fault

  • Unified ID 2.0, derived from a hashed email present on the enrolment

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

  • Deduplicated correctly

    Deduplication is on your conversion identifier. Because open-internet buying frequently runs alongside search and social, the more consequential deduplication is across platforms rather than within this one.

  • Reconciles with the source

Actually broken

  • Unified ID 2.0, derived from a hashed email 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 large share of what a DSP claims is view-through: the person saw a display impression and later converted without clicking. Some of that is real influence and some of it is coincidence, and no post-click reporting can separate them. Treat the click-attributed number as the floor and prove the rest with a holdout.

  • Nobody has reconciled it

Moodle → The Trade Desk · diagnose

Diagnostic order — Moodle → The Trade Desk

  1. 01

    Count enrolments carrying Unified ID 2.0, derived from a hashed email

  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

    Split reported conversions into click-through and view-through

    If the great majority are view-through, the honest next step is an incrementality test rather than a bid adjustment.

  5. 05

    Read the match rate, not the success message

    The Trade Desk reports match rates on uploaded conversions. Read the match rate — a low one means your authenticated share is the constraint, and no amount of pipeline work will change that.

Moodle → The Trade Desk · prove

How it gets proven — Moodle → The Trade Desk

Source of truth

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

  • Unified ID 2.0, derived from a hashed email confirmed present on a live enrolment.
  • Matched conversions reconciled against your own order records, with the click-through and view-through split stated.
  • Paid enrolments confirmed separated from free and cohort-synced ones before anything is sent.

Moodle → The Trade Desk · free audit

What we check in the free audit

  • Count enrolments carrying Unified ID 2.0, derived from a hashed email
  • Follow one real conversion end to end
  • Break down enrolments by enrolment method
  • Split reported conversions into click-through and view-through
  • 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 → The Trade Desk · when not to buy

When you don't need this — Moodle → The Trade Desk

  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry Unified ID 2.0, derived from a hashed email.
  • If your Moodle is purely internal training with no paid enrolment, there is no conversion here to measure.
  • If you cannot collect email addresses from a meaningful share of your buyers, UID2 has little to work with and the open internet is not yet an addressable channel for you.

Moodle → The Trade Desk · what we deliver

What gets built — Moodle → The Trade Desk

  • 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 The Trade Desk

    Server-side conversion upload with the hashed identity and value, from your order system.

  • 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 → The Trade Desk questions, answered

For direct-pay adult learners, yes, normalized and hashed. For seats bought by employers or parents, use the purchaser's email from checkout instead, since the learner never saw the ad.

Free · 30 min

Get Moodle and The Trade Desk joined properly

Free30 minutesNo obligation