Skip to main content
WeTravel → PostHogIntegration guide

Connecting WeTravel to PostHog

WeTravel handles payments and payouts for group travel organisers, which means it sits between the traveller's money and the operator's — and the operator only sees what settles. 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 WeTravel 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 funnels for WeTravel trip pages: where the handoff breaks

PostHog's funnel ends at the click into WeTravel's checkout, so pass the distinct_id into the WeTravel link, or join on an email captured through identify. Send deposit paid and plan completed as separate server events with an event UUID, carrying trip ID, departure date, settled value and a party size property, and analyze per booking rather than per traveler.

PostHog answers the question WeTravel's own reports cannot: which trip pages, itineraries and pricing displays on your site lead people to start a booking, and where they stall. The funnel ends at the click into WeTravel's checkout, because PostHog's script is not running there, so the steps between that click and a paid deposit are out of view.

To recover the outcome, pass the PostHog distinct_id into the WeTravel link and check whether it is retained with the booking or appears in what you can export; if not, join on email captured from an identify call earlier in your own flow. Send deposit paid and plan completed as separate server events with an event UUID, carrying trip ID, departure date and settled value as properties.

Group bookings blur person-level analysis. One payer books for four, so conversion rate per visitor understates demand, and companions who browsed the trip page separately look like non-converters. Add a party size property to the booking event and analyze per booking, not per traveler, when comparing trips.

WeTravel → PostHog · what breaks

Why this join usually fails — WeTravel → PostHog

  1. 01

    The distinct_id never reaches WeTravel

    Booking pages are WeTravel-hosted and travellers frequently arrive from an organiser's own promotion.

  2. 02

    The traveller's payment reported as the operator's revenue

    Fees and currency spread mean the operator receives materially less than the traveller paid. Reporting the traveller-facing figure overstates every efficiency ratio the operator computes.

  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.

WeTravel → PostHog · the fix

What working looks like — WeTravel → 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

WeTravel → PostHog · architecture

How WeTravel and PostHog actually connect

  1. 1

    WeTravel holds the truth

    Payment processing, currency conversion and platform fees all sit between the traveller's payment and the operator's payout, and on international group travel the gap is not trivial.

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

  4. 4

    The event source decides reliability

    Send bookings at settled value, with instalment plans reported on completion rather than on start.

  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.

WeTravel → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the booking

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

    Booking pages are WeTravel-hosted and travellers frequently arrive from an organiser's own promotion.

  • Sent from the browser

    Fees and currency spread mean the operator receives materially less than the traveller paid. Reporting the traveller-facing figure overstates every efficiency ratio the operator computes.

  • 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

WeTravel → PostHog · diagnose

Diagnostic order — WeTravel → PostHog

  1. 01

    Count bookings carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare traveller payments against operator payouts

    The gap is the real cost of the platform, and it should be visible in the report rather than discovered at reconciliation.

  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.

WeTravel → PostHog · prove

How it gets proven — WeTravel → PostHog

Source of truth

WeTravel bookings by trip date, valued at the amount settled to the operator after fees.

  • 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.
  • Settled payouts reconciled against imported conversions for a departed trip.

WeTravel → PostHog · free audit

What we check in the free audit

  • Count bookings carrying the distinct_id
  • Follow one real conversion end to end
  • Compare traveller payments against operator payouts
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

WeTravel bookings by trip date, valued at the amount settled to the operator after fees.

Get my free conversion tracking audit

Free30 minutesNo obligation

WeTravel → PostHog · when not to buy

When you don't need this — WeTravel → PostHog

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the distinct_id.
  • Domestic operators taking payment directly see the true figure already.
  • 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.

WeTravel → PostHog · what we deliver

What gets built — WeTravel → PostHog

  • Identifier capture into WeTravel

    Capture on your own domain where you control the landing, and treat organiser-promoted bookings as their own channel.

  • Event source: the WeTravel booking record

    Send bookings at settled value, with instalment plans reported on completion rather than on start.

  • 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 refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against WeTravel bookings by trip date, valued at the amount settled to the operator after fees.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

WeTravel → PostHog questions, answered

No, PostHog runs on your pages only. Join the booking back with a distinct_id passed in the link or with an email captured earlier.

Free · 30 min

Get WeTravel and PostHog joined properly

Free30 minutesNo obligation