Skip to main content
Moodle → LinkedInIntegration guide

Connecting Moodle to LinkedIn Ads

Moodle is self-hosted open-source learning management, used mostly by institutions where enrolment and payment are usually two different systems. LinkedIn is where B2B advertisers pay the highest cost per click in the industry, which makes an unmeasured conversion more expensive here than almost anywhere. The join between them succeeds or fails on one thing: whether the li_fat_id click identifier reaches the Moodle enrolment before the conversion happens, because LinkedIn can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Moodle course enrolments to LinkedIn CAPI for professional training

For professional courses, write the li_fat_id from your landing page into a Moodle custom profile field at account creation, then send the paid enrolment to LinkedIn's Conversions API with it and a hashed email. Record employer seat purchases as CRM deals instead of sending seat enrolments, and expect lower email match rates.

LinkedIn fits Moodle when the courses are professional: continuing education, certification prep, upskilling sold to individuals or their employers. The conversion is a paid enrolment, sent to the LinkedIn Conversions API with the li_fat_id from your course landing page and a hashed email from the Moodle user.

The li_fat_id has to cross three steps that can be days apart: the public course page, Moodle account creation, and the paid enrolment. Write it to a Moodle custom profile field at account creation and read it from there when the paid enrolment fires. Where an employer buys a block of seats and staff are enrolled by cohort sync or manually, those enrolments carry no learner's click; record the employer purchase as a B2B deal in your CRM and send that, not the seat enrolments.

The common failure is the email. Learners often register in Moodle with a different address from the one on their LinkedIn account, so hashed-email matching misses them. Send the li_fat_id wherever you have it with the hashed email as a fallback, and expect lower match rates on self-paying learners. Free enrolments, if sent at all, belong in a separate conversion with no value.

Moodle → LinkedIn · what breaks

Why this join usually fails — Moodle → LinkedIn

  1. 01

    The li_fat_id click identifier 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

    Long B2B cycles against LinkedIn's windows

    LinkedIn's attribution windows are configurable and finite, while B2B deals close in quarters. A conversion that matters commercially frequently falls outside the window that LinkedIn will credit, and that gap has to be reported rather than argued about.

  4. 04

    Nothing reconciles afterwards

    Campaign Manager reports conversions against each defined conversion action with its own window. A successful API call is not a matched conversion — reconcile LinkedIn's reported conversions against your CRM for the same window, and expect a gap wherever your sales cycle exceeds the attribution setting.

Moodle → LinkedIn · the fix

What working looks like — Moodle → LinkedIn

  • The li_fat_id click identifier on every enrolment

  • Conversions arriving in LinkedIn

    Conversions appear in Campaign Manager against the campaign, with the value you sent, and feed LinkedIn's optimization and its company-level reporting.

  • Reconciled against the source

Moodle → LinkedIn · architecture

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

    LinkedIn Ads needs a click to match

    LinkedIn matches server events on the click identifier where present and hashed user data otherwise. Conversions have to be defined in Campaign Manager before anything can be sent against them, and the definition includes the attribution window and counting rule.

  3. 3

    The identifier is the bridge

    The li_fat_id click identifier, 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

    LinkedIn deduplicates on an event identifier shared between the Insight Tag and the Conversions API. Running both without pairing them doubles every conversion, which on LinkedIn's cost per click is an expensive error to leave running.

Moodle → LinkedIn · normal or broken

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

Normal, not a fault

  • The li_fat_id click identifier present on the enrolment

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

  • Deduplicated correctly

    LinkedIn deduplicates on an event identifier shared between the Insight Tag and the Conversions API. Running both without pairing them doubles every conversion, which on LinkedIn's cost per click is an expensive error to leave running.

  • Reconciles with the source

Actually broken

  • The li_fat_id click identifier 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

    LinkedIn's attribution windows are configurable and finite, while B2B deals close in quarters. A conversion that matters commercially frequently falls outside the window that LinkedIn will credit, and that gap has to be reported rather than argued about.

  • Nobody has reconciled it

Moodle → LinkedIn · diagnose

Diagnostic order — Moodle → LinkedIn

  1. 01

    Count enrolments carrying the li_fat_id click identifier

  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 auto-tagging is on and the conversion is defined in Campaign Manager

    Two settings, both easy to miss, and either one missing means nothing matches.

  5. 05

    Read the match rate, not the success message

    Campaign Manager reports conversions against each defined conversion action with its own window. A successful API call is not a matched conversion — reconcile LinkedIn's reported conversions against your CRM for the same window, and expect a gap wherever your sales cycle exceeds the attribution setting.

Moodle → LinkedIn · prove

How it gets proven — Moodle → LinkedIn

Source of truth

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

  • The li_fat_id click identifier confirmed present on a live enrolment.
  • Auto-tagging confirmed enabled, the conversion defined in Campaign Manager, and deduplication verified on a real conversion.
  • Paid enrolments confirmed separated from free and cohort-synced ones before anything is sent.

Moodle → LinkedIn · free audit

What we check in the free audit

  • Count enrolments carrying the li_fat_id click identifier
  • Follow one real conversion end to end
  • Break down enrolments by enrolment method
  • Confirm auto-tagging is on and the conversion is defined in Campaign Manager
  • 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 → LinkedIn · when not to buy

When you don't need this — Moodle → LinkedIn

  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the li_fat_id click identifier.
  • If your Moodle is purely internal training with no paid enrolment, there is no conversion here to measure.
  • If you are not selling to businesses, LinkedIn's cost per click is very hard to justify and no measurement work changes that arithmetic.

Moodle → LinkedIn · what we deliver

What gets built — Moodle → LinkedIn

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

    Server events to the LinkedIn Conversions API with the click identifier, hashed user data and a matched event identifier.

  • 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 → LinkedIn questions, answered

Yes, as server events to the LinkedIn Conversions API from paid enrolments, using a li_fat_id stored on the Moodle user and a hashed email. The Insight Tag alone loses learners at the login and payment steps.

Free · 30 min

Get Moodle and LinkedIn joined properly

Free30 minutesNo obligation