Skip to main content
CourtReserve → PostHogIntegration guide

Connecting CourtReserve to PostHog

CourtReserve books racquet and club facilities where the real product is the membership, and court reservations are members consuming what they already bought. 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 CourtReserve membership 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

CourtReserve to PostHog: where member bookings finally belong

PostHog is where court bookings belong. Use the CourtReserve member ID as distinct_id, aliasing the website's anonymous ID if you capture email before the portal hop. Send membership start with contract value, each booking with court type and time slot, and cancellations, deriving event UUIDs from CourtReserve record IDs; backfill in batches.

PostHog is the one destination in this set where court bookings are the point. Every ad platform should only hear about memberships and guest fees, but a product analytics tool can use the booking stream for the questions a club actually asks: how often new members play in their first month, which time slots predict renewal, and whether league players churn less than drop-in players.

Identity is the work. Use the CourtReserve member ID as the distinct_id, and alias it to the anonymous ID from your club website when the visitor registers, if you can capture the email before the portal hop. Send the membership start as one event with its contract value, each booking as an ordinary event with court type and time slot, and cancellations as their own event. Derive each event's UUID from the CourtReserve record ID so a re-run sync does not duplicate a year of history.

The trap is volume. A busy club produces tens of thousands of booking events a year, and back-filling history in one go can swamp a small self-hosted instance. Load history in batches and watch ingestion lag. Build acquisition funnels on the membership event only, or every conversion insight will be dominated by members who joined years ago.

CourtReserve → PostHog · what breaks

Why this join usually fails — CourtReserve → PostHog

  1. 01

    The distinct_id never reaches CourtReserve

    Registration and booking pages are CourtReserve-hosted, and members book from an app for years after joining.

  2. 02

    Court bookings fired as conversions

    It is the most frequent event in the system, so it is the one people wire up. It produces enormous conversion counts entirely composed of people who already paid.

  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.

CourtReserve → PostHog · the fix

What working looks like — CourtReserve → PostHog

  • The distinct_id on every membership

  • Conversions arriving in PostHog

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

  • Reconciled against the source

CourtReserve → PostHog · architecture

How CourtReserve and PostHog actually connect

  1. 1

    CourtReserve holds the truth

    A member booking three courts a week generates a hundred and fifty bookings a year and one sale. Only one of those is a conversion.

  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 CourtReserve membership.

  4. 4

    The event source decides reliability

    Send memberships at their contract value and non-member court fees as their own smaller event. Member bookings carry no 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.

CourtReserve → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the membership

  • Sent from the CourtReserve membership and payment 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

    Registration and booking pages are CourtReserve-hosted, and members book from an app for years after joining.

  • Sent from the browser

    It is the most frequent event in the system, so it is the one people wire up. It produces enormous conversion counts entirely composed of people who already paid.

  • 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

CourtReserve → PostHog · diagnose

Diagnostic order — CourtReserve → PostHog

  1. 01

    Count memberships carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare conversion count against new memberships

    If conversions outnumber new members by two orders of magnitude, the wrong event is connected.

  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.

CourtReserve → PostHog · prove

How it gets proven — CourtReserve → PostHog

Source of truth

CourtReserve memberships by start date, kept apart from the court bookings members make.

  • The distinct_id confirmed present on a live membership.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • New memberships reconciled against imported conversions for a settled quarter.

CourtReserve → PostHog · free audit

What we check in the free audit

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

Checked against

CourtReserve memberships by start date, kept apart from the court bookings members make.

Get my free conversion tracking audit

Free30 minutesNo obligation

CourtReserve → PostHog · when not to buy

When you don't need this — CourtReserve → PostHog

  • Measure identifier coverage yourself first — pull your last hundred memberships and count how many carry the distinct_id.
  • A pay-per-play facility with no memberships can treat each booking as the sale it genuinely is.
  • 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.

CourtReserve → PostHog · what we deliver

What gets built — CourtReserve → PostHog

  • Identifier capture into CourtReserve

    Capture at registration and persist against the member, then report acquisition on memberships and guest bookings only.

  • Event source: the CourtReserve membership and payment record

    Send memberships at their contract value and non-member court fees as their own smaller event. Member bookings carry no 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

    Membership cancellations reverse.

Written guarantee

95%+ tracking accuracy

Measured against CourtReserve memberships by start date, kept apart from the court bookings members make.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

CourtReserve → PostHog questions, answered

Yes, from a server-side sync using CourtReserve's API or exports if your plan includes them, with the member ID as distinct_id and an event UUID derived from the booking ID. PostHog cannot instrument the CourtReserve portal or app directly.

Free · 30 min

Get CourtReserve and PostHog joined properly

Free30 minutesNo obligation