Skip to main content
Kustomer → PostHogIntegration guide

Connecting Kustomer to PostHog

Kustomer builds a timeline per customer rather than a queue of tickets, which makes it unusually good at answering the question ordinary support tools cannot: what an acquisition source costs you after the sale. 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 Kustomer customer timeline 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

Kustomer to PostHog: tickets on the same user timeline as product use

Sending Kustomer events directly to PostHog is worthwhile when the Kustomer customer holds the same ID used as the PostHog distinct_id. Send a support conversation created event through the capture API with channel, category, priority, original timestamp and a UUID derived from the conversation ID. Anonymous pre-login chats land without history, and message bodies stay out.

PostHog is the one destination in this batch where sending Kustomer events directly is worth it. A support conversation is a product event about a known user, and putting it on the same timeline as the feature they were using shows which flows generate tickets and which acquisition sources bring users who get stuck. The condition is that the Kustomer customer carries the same ID you pass to PostHog as the distinct_id when the user logs in.

Send it server-side through the capture API when a conversation is created: an event such as support conversation created, with channel, category and priority as properties, the conversation's own timestamp, and an event UUID derived from the Kustomer conversation ID so a retried webhook does not duplicate. Purchases come from your order system with first-touch UTM values set as person properties, and an insight can then break support conversations per paying user down by original source.

The break is anonymous chat. Visitors often open the chat before logging in, Kustomer creates a customer from the email they type, and PostHog only knows an anonymous distinct_id. Unless the user later logs in, you call identify, and the Kustomer record receives your user ID, the support event lands on a person with no history. Keep message bodies out of event properties entirely.

Kustomer → PostHog · what breaks

Why this join usually fails — Kustomer → PostHog

  1. 01

    The distinct_id never reaches Kustomer

    Contacts arrive across email, chat, SMS and social, and none of them carry a click identifier.

  2. 02

    Acquisition cost measured without service cost

    A channel producing customers who contact support four times each is more expensive than its cost per acquisition says, sometimes by more than the margin on the order.

  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.

Kustomer → PostHog · the fix

What working looks like — Kustomer → PostHog

  • The distinct_id on every conversation

  • Conversions arriving in PostHog

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

  • Reconciled against the source

Kustomer → PostHog · architecture

How Kustomer and PostHog actually connect

  1. 1

    Kustomer holds the truth

    Timeline-per-customer means contact volume, channel mix and resolution cost can all be attributed back to how that customer was acquired — which is a genuinely useful and almost never used signal.

  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 Kustomer customer timeline.

  4. 4

    The event source decides reliability

    Send purchases. Report contacts-per-customer and resolution time by acquisition source alongside.

  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.

Kustomer → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the conversation

  • Sent from your order system

  • 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

    Contacts arrive across email, chat, SMS and social, and none of them carry a click identifier.

  • Sent from the browser

    A channel producing customers who contact support four times each is more expensive than its cost per acquisition says, sometimes by more than the margin on the order.

  • 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

Kustomer → PostHog · diagnose

Diagnostic order — Kustomer → PostHog

  1. 01

    Count conversations carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare contacts per customer across acquisition sources

    The spread is usually wide, and it changes which channels are actually profitable.

  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.

Kustomer → PostHog · prove

How it gets proven — Kustomer → PostHog

Source of truth

Your order system, enriched with the customer's full support history from Kustomer.

  • The distinct_id confirmed present on a live conversation.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • Purchases reconciled against imported conversions, with support contacts per customer reported by source.

Kustomer → PostHog · free audit

What we check in the free audit

  • Count conversations carrying the distinct_id
  • Follow one real conversion end to end
  • Compare contacts per customer across acquisition sources
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Your order system, enriched with the customer's full support history from Kustomer.

Get my free conversion tracking audit

Free30 minutesNo obligation

Kustomer → PostHog · when not to buy

When you don't need this — Kustomer → PostHog

  • Measure identifier coverage yourself first — pull your last hundred conversations and count how many carry the distinct_id.
  • If support volume is low and uniform, this refinement will not change any decision you make.
  • 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.

Kustomer → PostHog · what we deliver

What gets built — Kustomer → PostHog

  • Identifier capture into Kustomer

    Join on the customer record and report support cost per acquisition source rather than attributing conversations.

  • Event source: your order system

    Send purchases. Report contacts-per-customer and resolution time by acquisition source alongside.

  • 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

    Refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, enriched with the customer's full support history from Kustomer.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Kustomer → PostHog questions, answered

Yes, through a Kustomer workflow or webhook calling PostHog's capture API with your user ID as distinct_id. Check which outbound actions your Kustomer plan allows.

Free · 30 min

Get Kustomer and PostHog joined properly

Free30 minutesNo obligation