Skip to main content
Cobot → PostHogIntegration guide

Connecting Cobot to PostHog

Cobot serves smaller independent coworking spaces where the operator is also the community manager, and most new members arrive through referral and word of mouth rather than advertising. 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 Cobot membership 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

Cobot to PostHog: a funnel from tour page to first invoice

PostHog's useful slice for a Cobot space is one funnel: pricing page, tour booked, Cobot signup, first invoice paid. Pass the distinct_id into the Cobot signup link; if it reaches the member record, send membership started server-side with it, the Cobot membership ID and monthly price. Otherwise identify by email at tour booking, and keep member source as a property.

PostHog is product analytics, and an independent space's website is essentially a brochure, so most of PostHog has nothing to analyze. The useful slice is a funnel: pricing page, tour booked, Cobot signup, first invoice paid. At a few signups a month, knowing where prospects drop out matters more than any attribution report.

The distinct_id lives on your site and the signup happens on Cobot's domain. Pass the distinct_id into the Cobot signup link and check whether URL parameters reach the member record or a custom field; if they do, send membership started from your server with that distinct_id, the Cobot membership ID as a property and the plan's monthly price. If Cobot drops the parameter, identify by email instead: call identify with the email when someone books a tour, and use the same email from Cobot's member record later.

Keep member source as a person property, set from the operator's tag, so referral members can be filtered out of funnel conversion rates. Self-hosting PostHog for a coworking site's traffic is hard to justify; the hosted product is the sensible default at this volume.

Cobot → PostHog · what breaks

Why this join usually fails — Cobot → PostHog

  1. 01

    The distinct_id never reaches Cobot

    Signup is on a Cobot-hosted portal and most enquiries arrive by email or in person.

  2. 02

    Word of mouth credited to advertising

    At the scale most Cobot spaces operate, a handful of referred members in one month will swamp any campaign effect. Without a source field the report cannot tell the two apart.

  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.

Cobot → PostHog · the fix

What working looks like — Cobot → PostHog

  • The distinct_id on every membership

  • Conversions arriving in PostHog

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

  • Reconciled against the source

Cobot → PostHog · architecture

How Cobot and PostHog actually connect

  1. 1

    Cobot holds the truth

    Independent spaces grow largely on existing members recommending them. Pooling that with paid acquisition makes campaigns look effective in months when the community was simply active.

  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 Cobot membership.

  4. 4

    The event source decides reliability

    Send new memberships at tenure value, with referral-sourced members marked and excluded from paid figures.

  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.

Cobot → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the membership

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

    Signup is on a Cobot-hosted portal and most enquiries arrive by email or in person.

  • Sent from the browser

    At the scale most Cobot spaces operate, a handful of referred members in one month will swamp any campaign effect. Without a source field the report cannot tell the two apart.

  • 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

Cobot → PostHog · diagnose

Diagnostic order — Cobot → PostHog

  1. 01

    Count memberships carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Tag member source at signup and count referrals

    A process change rather than a technical one, and it is the whole fix at this scale.

  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.

Cobot → PostHog · prove

How it gets proven — Cobot → PostHog

Source of truth

Cobot memberships by start date, with referral-sourced members identified.

  • The distinct_id confirmed present on a live membership.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • Non-referral memberships reconciled at tenure value against imported conversions.

Cobot → PostHog · free audit

What we check in the free audit

  • Count memberships carrying the distinct_id
  • Follow one real conversion end to end
  • Tag member source at signup and count referrals
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Cobot memberships by start date, with referral-sourced members identified.

Get my free conversion tracking audit

Free30 minutesNo obligation

Cobot → PostHog · when not to buy

When you don't need this — Cobot → PostHog

  • Measure identifier coverage yourself first — pull your last hundred memberships and count how many carry the distinct_id.
  • Spaces growing entirely on referral should invest in the community, not in advertising.
  • 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.

Cobot → PostHog · what we deliver

What gets built — Cobot → PostHog

  • Identifier capture into Cobot

    Record the source at signup, since for a small space manual tagging is more reliable than any pipeline.

  • Event source: the Cobot membership record

    Send new memberships at tenure value, with referral-sourced members marked and excluded from paid figures.

  • 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 in the first period reverse.

Written guarantee

95%+ tracking accuracy

Measured against Cobot memberships by start date, with referral-sourced members identified.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Cobot → PostHog questions, answered

Not with the browser snippet, since the pages are on Cobot's domain. Send the membership from your server when Cobot creates it, under the same distinct_id or email the visitor used on your site.

Free · 30 min

Get Cobot and PostHog joined properly

Free30 minutesNo obligation