Skip to main content
Peerspace → PostHogIntegration guide

Connecting Peerspace to PostHog

Peerspace is a marketplace for hourly space rental, which means the platform owns the customer relationship, takes a commission, and supplies 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 Peerspace 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 for a venue site: find where guests leave for Peerspace

PostHog can't record Peerspace bookings, which carry no distinct_id of yours, but it can show where visitors leave for Peerspace. Capture an event such as clicked_peerspace_listing with the exit page, never calling it a booking, and compare a direct-booking funnel with a Peerspace-click funnel by UTM source. Supply event UUIDs on server-side direct booking events.

PostHog's most useful job for a host who also lists on Peerspace is diagnosing leakage. Capture a distinct event when a visitor clicks through to your Peerspace listing, with a property for the page they left from and, if your site shows a calendar, whether it offered their dates. Session replay on those visits shows what pushed them out: a clumsy date picker, missing prices, an inquiry form with too many fields.

Name the event honestly, something like clicked_peerspace_listing, and never call it a booking. The booking happens inside Peerspace under no distinct_id of yours, and capturing payouts server-side against an invented distinct_id would create one-event persons that pollute every funnel and retention chart.

Then build the comparison PostHog is good at: a funnel from landing to direct booking beside a funnel from landing to Peerspace click, broken down by UTM source. If paid traffic exits to Peerspace at a higher rate than organic, your ads are buying commission-bearing demand. Supply event UUIDs on server-side direct booking events so a retried request does not duplicate.

Peerspace → PostHog · what breaks

Why this join usually fails — Peerspace → PostHog

  1. 01

    The distinct_id never reaches Peerspace

    Bookings originate entirely inside Peerspace. No session of the host's exists anywhere in the chain.

  2. 02

    Marketplace revenue pooled with direct bookings

    A host with a direct booking site and a Peerspace listing has two businesses. Pooling them means marketplace growth reads as direct-marketing success and the following quiet month reads as a failure.

  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.

Peerspace → PostHog · the fix

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

Peerspace → PostHog · architecture

How Peerspace and PostHog actually connect

  1. 1

    Peerspace holds the truth

    Guests are found by Peerspace's own marketplace. A host's advertising cannot produce these bookings, and the commission means the settled amount is meaningfully below the guest's payment.

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

  4. 4

    The event source decides reliability

    Send nothing to ad platforms from this channel. Report settled revenue as its own line.

  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.

Peerspace → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the booking

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

    Bookings originate entirely inside Peerspace. No session of the host's exists anywhere in the chain.

  • Sent from the browser

    A host with a direct booking site and a Peerspace listing has two businesses. Pooling them means marketplace growth reads as direct-marketing success and the following quiet month reads as a failure.

  • 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

Peerspace → PostHog · diagnose

Diagnostic order — Peerspace → PostHog

  1. 01

    Count bookings carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Report marketplace and direct bookings as separate lines

    One is bought with commission, the other with media, and they are not comparable.

  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.

Peerspace → PostHog · prove

How it gets proven — Peerspace → PostHog

Source of truth

Peerspace bookings by date, at the amount settled to the host after commission.

  • 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 against imported conversions, with Peerspace settled revenue reported separately.

Peerspace → PostHog · free audit

What we check in the free audit

  • Count bookings carrying the distinct_id
  • Follow one real conversion end to end
  • Report marketplace and direct bookings as separate lines
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Peerspace bookings by date, at the amount settled to the host after commission.

Get my free conversion tracking audit

Free30 minutesNo obligation

Peerspace → PostHog · when not to buy

When you don't need this — Peerspace → PostHog

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the distinct_id.
  • If Peerspace is your only channel, there is nothing to attribute and the lever is your listing quality.
  • 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.

Peerspace → PostHog · what we deliver

What gets built — Peerspace → PostHog

  • Identifier capture into Peerspace

    There is nothing to capture. Report Peerspace as a separate, unattributable channel with its commission stated.

  • Event source: the Peerspace booking record

    Send nothing to ad platforms from this channel. Report settled revenue as its own line.

  • 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 the settlement.

Written guarantee

95%+ tracking accuracy

Measured against Peerspace bookings by date, at the amount settled to the host after commission.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Peerspace → PostHog questions, answered

No. It can record clicks from your site to the listing; the booking happens inside Peerspace.

Free · 30 min

Get Peerspace and PostHog joined properly

Free30 minutesNo obligation