Skip to main content
TeamUp → PostHogIntegration guide

Connecting TeamUp to PostHog

TeamUp handles class-based fitness where the same customer might hold a membership, buy a class pack and pay per drop-in — three revenue models in one account. 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 TeamUp purchase 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 TeamUp data: intro-to-member funnels and attendance

PostHog tracking stops at the click to TeamUp, so pass the distinct_id along or identify by email when the purchase arrives. Send TeamUp purchases through the capture API with a UUID from the purchase ID plus revenue model and location, and bookings as zero-value events for intro-buyer retention views. Keep revenue on purchases only.

PostHog fits a studio that wants to understand its own funnel: landing page, offer view, click to TeamUp, intro purchase, first class, membership. The tracked part stops at the click to TeamUp, because PostHog runs on your site and not on TeamUp-hosted pages. Pass the distinct_id along in a way you can recover, or identify the person by email when the TeamUp purchase arrives, so the server events attach to the same person as the earlier site visits.

Send the TeamUp purchase from your backend through the capture API with a UUID derived from the TeamUp purchase ID, so a retried batch cannot duplicate it, and with revenue model and location as properties. Bookings are where PostHog is more useful than any ad destination: as a separate zero-value event they let you build a retention view of intro buyers who attended three classes in their first two weeks versus those who attended one, which is usually the best predictor of who becomes a member.

Keep revenue on purchase events only. PostHog will sum whatever value property you attach, and a revenue property on bookings turns your funnel into fiction. On a self-hosted instance, check ingestion daily for the first month, because a quiet failure looks exactly like a slow week at the studio.

TeamUp → PostHog · what breaks

Why this join usually fails — TeamUp → PostHog

  1. 01

    The distinct_id never reaches TeamUp

    Booking and purchase pages are TeamUp-hosted, and class bookings continue for months after the original click.

  2. 02

    Class bookings counted as purchases

    A ten-class pack generates one purchase and ten bookings. If bookings are the conversion event, you have inflated the count by ten and the revenue by whatever value got attached to each one.

  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.

TeamUp → PostHog · the fix

What working looks like — TeamUp → PostHog

  • The distinct_id on every purchase

  • Conversions arriving in PostHog

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

  • Reconciled against the source

TeamUp → PostHog · architecture

How TeamUp and PostHog actually connect

  1. 1

    TeamUp holds the truth

    A class pack behaves like the spa package problem: it is sold once and consumed many times, and the consumption is not revenue.

  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 TeamUp purchase.

  4. 4

    The event source decides reliability

    Send purchases only. Class bookings that draw down an existing pack 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.

TeamUp → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the purchase

  • Sent from the TeamUp purchase 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

    Booking and purchase pages are TeamUp-hosted, and class bookings continue for months after the original click.

  • Sent from the browser

    A ten-class pack generates one purchase and ten bookings. If bookings are the conversion event, you have inflated the count by ten and the revenue by whatever value got attached to each one.

  • 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

TeamUp → PostHog · diagnose

Diagnostic order — TeamUp → PostHog

  1. 01

    Count purchases carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether booking events carry a value

    On class platforms they usually do by default, because the booking is the obvious thing to fire on.

  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.

TeamUp → PostHog · prove

How it gets proven — TeamUp → PostHog

Source of truth

TeamUp purchases by date, split into memberships, class packs and drop-ins.

  • The distinct_id confirmed present on a live purchase.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • Purchases reconciled against imported conversions, with bookings demonstrably valued at zero.

TeamUp → PostHog · free audit

What we check in the free audit

  • Count purchases carrying the distinct_id
  • Follow one real conversion end to end
  • Check whether booking events carry a value
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

TeamUp purchases by date, split into memberships, class packs and drop-ins.

Get my free conversion tracking audit

Free30 minutesNo obligation

TeamUp → PostHog · when not to buy

When you don't need this — TeamUp → PostHog

  • Measure identifier coverage yourself first — pull your last hundred purchases and count how many carry the distinct_id.
  • A studio selling only drop-ins has no pack problem and can treat each booking as the purchase it 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.

TeamUp → PostHog · what we deliver

What gets built — TeamUp → PostHog

  • Identifier capture into TeamUp

    Persist the identifier against the customer at first purchase, and mark subsequent bookings as consumption rather than conversion.

  • Event source: the TeamUp purchase record

    Send purchases only. Class bookings that draw down an existing pack 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

    Refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against TeamUp purchases by date, split into memberships, class packs and drop-ins.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

TeamUp → PostHog questions, answered

Not directly, since those pages are hosted by TeamUp. Track your site in the browser and send TeamUp purchases and bookings server-side, identified by the same person.

Free · 30 min

Get TeamUp and PostHog joined properly

Free30 minutesNo obligation