Skip to main content
Docebo → PostHogIntegration guide

Connecting Docebo to PostHog

Docebo is enterprise learning, sold through a long procurement cycle to a buying committee, at contract values that dwarf any self-serve course platform. PostHog can be self-hosted, which changes the calculus entirely: the data stays on infrastructure you control, and so does the responsibility for everything that goes wrong with it. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Docebo contract before the conversion happens, because PostHog can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Docebo and PostHog: group analytics on the account, not the visitor

Use PostHog group analytics: set the company group from the email domain at the first demo-form identify, so committee sessions add up under one account. Send CRM closed-won server-side on that group with annual value and term, building the event UUID from the opportunity ID. Keep Docebo learner activity in a separate project or excluded from marketing insights.

PostHog's group analytics attaches events to a company as well as a person, which matches how enterprise learning is bought: several people from one prospect read pricing, compare integrations and sit through a sandbox tour over months. Set the company group from the email domain when someone first identifies on a demo form, and the committee's separate sessions start adding up under one account instead of four unrelated distinct_ids.

Send the CRM's closed-won as a server-side event on that group with annual contract value and term as properties, and build the event UUID from the opportunity ID so a CRM resync does not create a second contract. Funnels can then run from the first campaign-tagged visit to signature at the account level, a span no ad platform window covers for a cycle this long. Expect thin numbers; a few dozen contracts a year will not support fine-grained funnel splits.

Keep Docebo learner activity apart. If product analytics already captures your customers' learners using the platform, those distinct_ids belong to your customers' employees, and mixing them into the marketing project merges post-sale usage with pre-sale research. Use a separate PostHog project, or exclude identified customer accounts from marketing insights.

Docebo → PostHog · what breaks

Why this join usually fails — Docebo → PostHog

  1. 01

    The distinct_id never reaches Docebo

    The cycle involves L&D, IT, procurement and finance researching separately over months, and the eventual platform login has no connection to any of it. The identifier must survive in the CRM through lead conversion.

  2. 02

    A cycle longer than every import window

    Enterprise learning procurement routinely runs past 90 days, which means the closed-won deal cannot be uploaded against the original click at all.

  3. 03

    Self-hosting the analytics and the outage together

    The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.

  4. 04

    Nothing reconciles afterwards

    PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.

Docebo → PostHog · the fix

What working looks like — Docebo → PostHog

  • The distinct_id on every contract

  • Conversions arriving in PostHog

    The event lands on the person profile and becomes available in insights, funnels and session replay.

  • Reconciled against the source

Docebo → PostHog · architecture

How Docebo and PostHog actually connect

  1. 1

    Docebo holds the truth

    Enterprise learning contracts run for years at values set by user count and modules. The LMS records usage; the CRM records the deal.

  2. 2

    PostHog needs a click to match

    PostHog needs a distinct_id, an event name and its properties. Self-hosted instances additionally need the ingestion endpoint reachable and the project API key correct, which is a class of failure hosted tools do not have.

  3. 3

    The identifier is the bridge

    The distinct_id, captured at the visit and carried into the Docebo contract.

  4. 4

    The event source decides reliability

    Send the contract at annual value times term, where the cycle fits inside an import window. Where it does not, optimize toward a qualified stage and report revenue separately.

  5. 5

    Deduplication at the destination

    PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.

Docebo → PostHog · normal or broken

Working vs. broken, side by side — Docebo → PostHog

Normal, not a fault

  • The distinct_id present on the contract

  • Sent from your CRM on closed-won

  • Deduplicated correctly

    PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.

  • Reconciles with the source

Actually broken

  • The distinct_id missing on most records

    The cycle involves L&D, IT, procurement and finance researching separately over months, and the eventual platform login has no connection to any of it. The identifier must survive in the CRM through lead conversion.

  • Sent from the browser

    Enterprise learning procurement routinely runs past 90 days, which means the closed-won deal cannot be uploaded against the original click at all.

  • Counted twice, or not at all

    The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.

  • Nobody has reconciled it

Docebo → PostHog · diagnose

Diagnostic order — Docebo → PostHog

  1. 01

    Count contracts carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Measure median click-to-signature before designing anything

    It decides whether a closed-won upload is even possible, and in this category it usually is not.

  4. 04

    Check ingestion health and disk before debugging any missing event

    On self-hosted instances the answer is infrastructure far more often than it is instrumentation.

  5. 05

    Read the match rate, not the success message

    PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.

Docebo → PostHog · prove

How it gets proven — Docebo → PostHog

Source of truth

Your CRM's closed-won contracts, at annual contract value — Docebo itself holds delivery, not the sale.

  • The distinct_id confirmed present on a live contract.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • The click-to-signature distribution measured against every import window and stated in writing.

Docebo → PostHog · free audit

What we check in the free audit

  • Count contracts carrying the distinct_id
  • Follow one real conversion end to end
  • Measure median click-to-signature before designing anything
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Your CRM's closed-won contracts, at annual contract value — Docebo itself holds delivery, not the sale.

Get my free conversion tracking audit

Free30 minutesNo obligation

Docebo → PostHog · when not to buy

When you don't need this — Docebo → PostHog

  • Measure identifier coverage yourself first — pull your last hundred contracts and count how many carry the distinct_id.
  • If your deals close in quarters, optimize toward qualified opportunities and stop trying to upload the contract.
  • If you have no reason to keep the data on your own infrastructure and no team to run it, the hosted product removes the only real downside of this one.

Docebo → PostHog · what we deliver

What gets built — Docebo → PostHog

  • Identifier capture into Docebo

    Capture and persist the identifier server-side, carry it into the CRM and map it through lead-to-opportunity conversion, which is where it usually dies.

  • Event source: your CRM on closed-won

    Send the contract at annual value times term, where the cycle fits inside an import window. Where it does not, optimize toward a qualified stage and report revenue separately.

  • Dispatch to PostHog

    The PostHog capture API, posted server-side from your backend to your own instance or to PostHog Cloud.

  • Reversals where they exist

    Contracts that fail to onboard should not stand as conversions.

Written guarantee

95%+ tracking accuracy

Measured against Your CRM's closed-won contracts, at annual contract value — Docebo itself holds delivery, not the sale.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Docebo → PostHog questions, answered

Yes at the account level, if the company group is set at the first identified visit and closed-won is sent from the CRM onto the same group.

Free · 30 min

Get Docebo and PostHog joined properly

Free30 minutesNo obligation