Skip to main content
Tokeet → PostHogIntegration guide

Connecting Tokeet to PostHog

Tokeet is modular — booking, messaging, websites and channel management are separate products — which means what is actually installed differs per operator and so does what can be tracked. 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 Tokeet 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

Tokeet in PostHog: closing the funnel after the booking widget

Pass the PostHog distinct_id into the Tokeet booking flow, or match by email and time, and send a booking-confirmed capture from the Tokeet record with property, nights, arrival date and stay value. Derive the event UUID from the booking ID, add lead time and availability properties, and send cancellations as their own event.

PostHog's useful job for a rental operator is the direct-site funnel: property page, date selection, quote, booking. That funnel usually breaks at its last step, because the booking completes in a Tokeet widget or hosted page that PostHog's script cannot see. Every funnel then shows a cliff at checkout that is really a measurement gap.

Close it server-side. Keep the PostHog distinct_id from the session, pass it into the booking flow if Tokeet lets you attach a reference, or match the booking to the session by email and time otherwise, and send a booking-confirmed capture from the Tokeet record with that distinct_id plus property, nights, arrival date and stay value. Use an event UUID derived from the booking ID so a retried post does not duplicate on your self-hosted instance.

Two properties are worth adding because they change how you read the data. Lead time, days from booking to arrival, splits last-minute bookers from planners, and the two behave differently on the site. Availability is the other: a guest who leaves because the dates were taken is not a funnel problem, and PostHog cannot tell the difference unless you send it. Cancellations go in as their own event; PostHog will not remove the original.

Tokeet → PostHog · what breaks

Why this join usually fails — Tokeet → PostHog

  1. 01

    The distinct_id never reaches Tokeet

    Which modules are installed decides whether a direct booking path exists at all.

  2. 02

    Planning an integration for a module nobody bought

    Modular platforms make it easy to design a tracking approach around a component the operator does not have. Establishing the installed configuration first avoids a build that cannot run.

  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.

Tokeet → PostHog · the fix

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

Tokeet → PostHog · architecture

How Tokeet and PostHog actually connect

  1. 1

    Tokeet holds the truth

    Modularity means the direct booking website may or may not exist on a given account. That is the first thing to establish, because without it there is nothing to attribute.

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

  4. 4

    The event source decides reliability

    Send direct bookings per property at total stay 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.

Tokeet → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the booking

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

    Which modules are installed decides whether a direct booking path exists at all.

  • Sent from the browser

    Modular platforms make it easy to design a tracking approach around a component the operator does not have. Establishing the installed configuration first avoids a build that cannot run.

  • 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

Tokeet → PostHog · diagnose

Diagnostic order — Tokeet → PostHog

  1. 01

    Count bookings carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    List which Tokeet modules are actually in use

    First step, before any measurement design.

  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.

Tokeet → PostHog · prove

How it gets proven — Tokeet → PostHog

Source of truth

Tokeet bookings by property and arrival, split by channel.

  • 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.
  • Direct bookings reconciled per property against imported conversions.

Tokeet → PostHog · free audit

What we check in the free audit

  • Count bookings carrying the distinct_id
  • Follow one real conversion end to end
  • List which Tokeet modules are actually in use
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Tokeet bookings by property and arrival, split by channel.

Get my free conversion tracking audit

Free30 minutesNo obligation

Tokeet → PostHog · when not to buy

When you don't need this — Tokeet → PostHog

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the distinct_id.
  • If no direct booking module is installed, there is nothing to attribute and the recommendation is to install one or stop.
  • 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.

Tokeet → PostHog · what we deliver

What gets built — Tokeet → PostHog

  • Identifier capture into Tokeet

    Confirm the direct website module is in use before designing anything, then capture on it.

  • Event source: the Tokeet booking record

    Send direct bookings per property at total stay 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 Tokeet bookings by property and arrival, split by channel.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Tokeet → PostHog questions, answered

PostHog usually cannot see the hosted booking page, so completed bookings look like abandonment. Send a server-side booking event from the Tokeet record with the same distinct_id.

Free · 30 min

Get Tokeet and PostHog joined properly

Free30 minutesNo obligation