Skip to main content
Zen Planner → PostHogIntegration guide

Connecting Zen Planner to PostHog

Zen Planner serves martial arts schools and gyms with family memberships, where one enrolment can represent three people and one payment. 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 Zen Planner enrolment 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

PostHog on a school site that hands off to Zen Planner

Call identify with the parent's email on your own forms before the handoff to Zen Planner, then send trial booked, trial attended and membership started through PostHog's capture API using that email as distinct_id, with household ID and billed amount as properties. Count membership per household, and use cohorts of trialed-but-not-enrolled families as front-desk follow-up lists.

PostHog can show a school where parents drop out of the path from landing page to schedule page to trial form, which is the part of the funnel Zen Planner cannot see. Call identify with the parent's email on any form you host yourself, so the anonymous distinct_id from those browsing sessions merges into one person before the handoff to Zen Planner's domain, where PostHog stops recording.

After the handoff, the events come from Zen Planner data rather than the browser. Send trial booked, trial attended and membership started server-side through the capture API using the same email as distinct_id, and attach the household identifier and billed amount as properties. Define the membership event per household: if siblings each produce a membership event, PostHog funnels will show a conversion rate that is impossible for the traffic involved.

PostHog is a product analytics tool, so its real advantage here is cohorts, not attribution. A cohort of families who attended a trial but did not enroll within two weeks is a concrete follow-up list for the front desk. If you self-host PostHog for a single school, the server, upgrades and backups become a job that nobody on a gym staff usually owns; PostHog Cloud removes that, and the data volume of one school is small.

Zen Planner → PostHog · what breaks

Why this join usually fails — Zen Planner → PostHog

  1. 01

    The distinct_id never reaches Zen Planner

    Trial and enrolment forms are Zen Planner-hosted, and enrolment paperwork is frequently completed at the school.

  2. 02

    Family plans counted per student

    It triples your conversion count and leaves your revenue unchanged, so cost per acquisition looks a third of what it is and the campaign gets scaled into a loss.

  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.

Zen Planner → PostHog · the fix

What working looks like — Zen Planner → PostHog

  • The distinct_id on every enrolment

  • Conversions arriving in PostHog

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

  • Reconciled against the source

Zen Planner → PostHog · architecture

How Zen Planner and PostHog actually connect

  1. 1

    Zen Planner holds the truth

    A family plan with three children is one billing relationship. Counting three enrolments triples the conversion count against one payment, and the bidding algorithm optimizes toward the count.

  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 Zen Planner enrolment.

  4. 4

    The event source decides reliability

    Send one conversion per billing household at the household's recurring value.

  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.

Zen Planner → PostHog · normal or broken

Working vs. broken, side by side — Zen Planner → PostHog

Normal, not a fault

  • The distinct_id present on the enrolment

  • Sent from the Zen Planner membership record

  • 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

    Trial and enrolment forms are Zen Planner-hosted, and enrolment paperwork is frequently completed at the school.

  • Sent from the browser

    It triples your conversion count and leaves your revenue unchanged, so cost per acquisition looks a third of what it is and the campaign gets scaled into a loss.

  • 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

Zen Planner → PostHog · diagnose

Diagnostic order — Zen Planner → PostHog

  1. 01

    Count enrolments carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare enrolment count against billing relationships

    If they differ, the conversion count is wrong and everything derived from it is too.

  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.

Zen Planner → PostHog · prove

How it gets proven — Zen Planner → PostHog

Source of truth

Zen Planner memberships by start date, valued at the household's billed amount rather than per student.

  • The distinct_id confirmed present on a live enrolment.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • Billing households reconciled against imported conversions for a settled month.

Zen Planner → PostHog · free audit

What we check in the free audit

  • Count enrolments carrying the distinct_id
  • Follow one real conversion end to end
  • Compare enrolment count against billing relationships
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Zen Planner memberships by start date, valued at the household's billed amount rather than per student.

Get my free conversion tracking audit

Free30 minutesNo obligation

Zen Planner → PostHog · when not to buy

When you don't need this — Zen Planner → PostHog

  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the distinct_id.
  • Schools with only individual memberships do not have this problem. It is specifically a family-plan trap.
  • 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.

Zen Planner → PostHog · what we deliver

What gets built — Zen Planner → PostHog

  • Identifier capture into Zen Planner

    Capture at first online contact and persist against the household, not the individual student.

  • Event source: the Zen Planner membership record

    Send one conversion per billing household at the household's recurring value.

  • 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

    Cancellations reverse.

Written guarantee

95%+ tracking accuracy

Measured against Zen Planner memberships by start date, valued at the household's billed amount rather than per student.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Zen Planner → PostHog questions, answered

Identify parents by email on forms you host, then send trial and membership events server-side from Zen Planner data under that same email as distinct_id.

Free · 30 min

Get Zen Planner and PostHog joined properly

Free30 minutesNo obligation