Skip to main content
SquadTrip → PostHogIntegration guide

Connecting SquadTrip to PostHog

SquadTrip handles group trips where a host sells to their own audience and travellers pay in instalments, which means the money arrives over months and the host, not your advertising, produced the demand. 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 SquadTrip booking 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 SquadTrip funnel: see why people don't book

PostHog cannot run on SquadTrip's booking page, so identify visitors with an interest or waitlist form, using email as distinct_id. Capture a booking event server-side when the deposit appears, with trip, departure, deposit and plan length, plus later completion and default events, each with a stable UUID. Store group seats as a property.

PostHog's value for a SquadTrip host is upstream of the booking: which itinerary sections people read, whether they open the payment-plan FAQ, and where they leave before clicking through. Everything after the Book button happens on SquadTrip's page, where your PostHog snippet and session replay do not run, so the funnel ends at an outbound click unless you bring the booking back yourself.

Do that server-side. Identify visitors on your own site with an interest or waitlist form, using email as the distinct_id or aliasing the anonymous ID to it, then capture a booking event when the deposit appears on the SquadTrip record, with properties for trip, departure, deposit amount and plan length. Capture plan completion and default as separate events later so a cohort view shows which traffic sources produce travelers who actually finish paying. Supply a stable event UUID per booking so a retried import does not duplicate.

The common break is the group booker: one person books three seats, so PostHog shows one converted person and three travelers' worth of revenue. Store seats as a property and count them, rather than reading conversion rate as seats sold.

SquadTrip → PostHog · what breaks

Why this join usually fails — SquadTrip → PostHog

  1. 01

    The distinct_id never reaches SquadTrip

    Hosts promote to their own audiences through social and email, and checkout sits on a SquadTrip page.

  2. 02

    Instalment bookings counted as revenue on day one

    A group trip booked in January and travelled in October is nine months of instalments away from being paid. Booking-value reporting counts money that has not arrived and some of which will not.

  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.

SquadTrip → PostHog · the fix

What working looks like — SquadTrip → PostHog

  • The distinct_id on every booking

  • Conversions arriving in PostHog

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

  • Reconciled against the source

SquadTrip → PostHog · architecture

How SquadTrip and PostHog actually connect

  1. 1

    SquadTrip holds the truth

    A booking on a payment plan is a commitment, not cash. Travellers default on instalments, and the completed-payment figure is the only one that is real.

  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 SquadTrip booking.

  4. 4

    The event source decides reliability

    Send bookings at deposit value and completed payment plans at the full amount, as separate events.

  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.

SquadTrip → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the booking

  • Sent from the SquadTrip booking 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

    Hosts promote to their own audiences through social and email, and checkout sits on a SquadTrip page.

  • Sent from the browser

    A group trip booked in January and travelled in October is nine months of instalments away from being paid. Booking-value reporting counts money that has not arrived and some of which will not.

  • 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

SquadTrip → PostHog · diagnose

Diagnostic order — SquadTrip → PostHog

  1. 01

    Count bookings carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Measure the payment-plan completion rate

    It is the gap between reported bookings and actual revenue, and it is rarely small on longer lead times.

  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.

SquadTrip → PostHog · prove

How it gets proven — SquadTrip → PostHog

Source of truth

SquadTrip bookings by trip departure, with payment plan progress tracked separately from booking value.

  • The distinct_id confirmed present on a live booking.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • Completed payment plans reconciled against imported conversions after departure.

SquadTrip → PostHog · free audit

What we check in the free audit

  • Count bookings carrying the distinct_id
  • Follow one real conversion end to end
  • Measure the payment-plan completion rate
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

SquadTrip bookings by trip departure, with payment plan progress tracked separately from booking value.

Get my free conversion tracking audit

Free30 minutesNo obligation

SquadTrip → PostHog · when not to buy

When you don't need this — SquadTrip → PostHog

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the distinct_id.
  • If you take full payment upfront, booking and revenue coincide and this distinction disappears.
  • 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.

SquadTrip → PostHog · what we deliver

What gets built — SquadTrip → PostHog

  • Identifier capture into SquadTrip

    Attribute only where your own campaign produced the traveller; host-audience bookings are the host's work.

  • Event source: the SquadTrip booking record

    Send bookings at deposit value and completed payment plans at the full amount, as separate events.

  • 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 and defaulted payment plans reverse.

Written guarantee

95%+ tracking accuracy

Measured against SquadTrip bookings by trip departure, with payment plan progress tracked separately from booking value.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

SquadTrip → PostHog questions, answered

Not in the browser, since SquadTrip's checkout is not your site. Capture the booking from your server against the same distinct_id you set when the visitor filled in your form.

Free · 30 min

Get SquadTrip and PostHog joined properly

Free30 minutesNo obligation