Skip to main content
Peek Pro → PostHogIntegration guide

Connecting Peek Pro to PostHog

Peek Pro serves tours and activities with the same direct-versus-marketplace tension, and its own Peek.com marketplace sits on the other side of it. 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 Peek Pro 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 Peek Pro site: the funnel stops at Book Now

PostHog's funnel stops at Book Now, since Peek's booking flow runs on Peek's pages. Pass the visitor's distinct_id into the flow, then capture a booking event server-side from the Peek booking record with activity, headcount and value, using a booking-ID-derived UUID, and identify the guest by email. Marketplace bookings correctly never appear.

PostHog autocapture on your own site records the activity page, any date picker you built, and the click on Book Now. After that, Peek's booking flow runs on Peek's pages, so the steps where guests actually drop (ticket count, add-ons, payment) are invisible to your session replays. A PostHog funnel that ends at 'booking completed' will read as near zero unless you close it from the server.

Close it by passing the visitor's distinct_id into the booking flow before the hand-off, then capturing a booking event server-side from the Peek booking record with that distinct_id, the activity, headcount and value. Derive the event UUID from the Peek booking ID so a retried webhook does not double the booking. When the guest's email arrives with the booking, identify the person with it so a returning visitor on a new device joins up.

The question PostHog can answer for a tour operator is where demand dies: which activity pages get clicks but not bookings, and whether visitors who hit a sold-out date bounce or pick another. Marketplace bookings never appear here at all, which is correct; PostHog should describe your site, and Peek's own reports should describe the channel mix.

Peek Pro → PostHog · what breaks

Why this join usually fails — Peek Pro → PostHog

  1. 01

    The distinct_id never reaches Peek Pro

    Hosted checkout, plus marketplace bookings that never touch your site. Neither carries a click identifier from your advertising.

  2. 02

    The platform is also a competing channel

    Bookings arriving through Peek's marketplace are real revenue at lower margin, produced by the marketplace rather than by your ads. Blending them overstates 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.

Peek Pro → PostHog · the fix

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

Peek Pro → PostHog · architecture

How Peek Pro and PostHog actually connect

  1. 1

    Peek Pro holds the truth

    Peek operates both the operator software and a consumer marketplace, so the same platform is your booking system and a channel that charges you commission.

  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 Peek Pro booking.

  4. 4

    The event source decides reliability

    Send direct bookings at total value including add-ons and gratuity where you count it.

  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.

Peek Pro → PostHog · normal or broken

Working vs. broken, side by side — Peek Pro → PostHog

Normal, not a fault

  • The distinct_id present on the booking

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

    Hosted checkout, plus marketplace bookings that never touch your site. Neither carries a click identifier from your advertising.

  • Sent from the browser

    Bookings arriving through Peek's marketplace are real revenue at lower margin, produced by the marketplace rather than by your ads. Blending them overstates 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

Peek Pro → PostHog · diagnose

Diagnostic order — Peek Pro → PostHog

  1. 01

    Count bookings carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Split bookings by direct versus marketplace source

    This is the number that decides both your margin and what advertising can claim.

  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.

Peek Pro → PostHog · prove

How it gets proven — Peek Pro → PostHog

Source of truth

Peek Pro bookings by activity date, split direct versus marketplace.

  • 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 separately, with marketplace share stated.

Peek Pro → PostHog · free audit

What we check in the free audit

  • Count bookings carrying the distinct_id
  • Follow one real conversion end to end
  • Split bookings by direct versus marketplace source
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Peek Pro bookings by activity date, split direct versus marketplace.

Get my free conversion tracking audit

Free30 minutesNo obligation

Peek Pro → PostHog · when not to buy

When you don't need this — Peek Pro → PostHog

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the distinct_id.
  • If marketplace is most of your volume, the useful work is shifting mix rather than refining measurement.
  • 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.

Peek Pro → PostHog · what we deliver

What gets built — Peek Pro → PostHog

  • Identifier capture into Peek Pro

    Carry the identifier through the booking flow's parameters, and report marketplace-sourced bookings as their own channel.

  • Event source: the Peek Pro booking record

    Send direct bookings at total value including add-ons and gratuity where you count it.

  • 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, weather and minimum-numbers all reduce the figure.

Written guarantee

95%+ tracking accuracy

Measured against Peek Pro bookings by activity date, split direct versus marketplace.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Peek Pro → PostHog questions, answered

No. The booking flow is served by Peek, so your PostHog snippet is not running inside it. You get the click into it and, if you send one, the server-side confirmation.

Free · 30 min

Get Peek Pro and PostHog joined properly

Free30 minutesNo obligation