Skip to main content
Invoca → PostHogIntegration guide

Connecting Invoca to PostHog

Invoca analyses the content of the call, which lets it tell a booked appointment from a wrong number automatically — and that classification is the whole reason to use it rather than counting calls. 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 Invoca call 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

Invoca call outcomes as PostHog events on the same person

Read PostHog's distinct_id when Invoca inserts the number, store it as call data, and capture the classified call server-side against it, named after the classification with outcome, duration bucket and Invoca call ID as properties. Derive each event UUID from the call ID, send reclassifications as correction events, and keep transcripts, caller numbers and agent notes out.

PostHog is useful here for a product question rather than an ad one: which pages and features do people see before they call instead of signing up? That needs the call to land on the same distinct_id as the browsing session. Read the distinct_id from PostHog's browser library when Invoca inserts the number, store it as call data, and capture the classified call server-side against it.

Name the event after the classification, not the call, and attach the outcome, a duration bucket and the Invoca call ID as properties. Send a UUID with each event, derived deterministically from the call ID, so a retried send does not create a second event in your funnels. If a later reclassification matters, send it as a separate correction event rather than a second copy of the conversion. When the caller later signs up, the identify call you already use will fold the call into their history.

Leave transcripts, caller numbers and agent notes out. Session recordings and the call event sit side by side in the person view, and adding the conversation turns an analytics tool into a store of recorded personal data, with retention and access problems that are yours alone on a self-hosted instance.

Invoca → PostHog · what breaks

Why this join usually fails — Invoca → PostHog

  1. 01

    The distinct_id never reaches Invoca

    Number insertion ties the call to a session, but classification happens after the call ends — sometimes minutes later, which is outside the window some conversion pipelines expect.

  2. 02

    Sending the conversion before the call is classified

    Firing on call start throws away the only thing this product adds. It also imports every wrong number, robocall and existing customer as a conversion.

  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.

Invoca → PostHog · the fix

What working looks like — Invoca → PostHog

  • The distinct_id on every call

  • Conversions arriving in PostHog

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

  • Reconciled against the source

Invoca → PostHog · architecture

How Invoca and PostHog actually connect

  1. 1

    Invoca holds the truth

    Call volume is a vanity number. Classification turns it into a signal: a campaign producing many long, qualified conversations is worth more than one producing twice as many hang-ups.

  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 Invoca call.

  4. 4

    The event source decides reliability

    Send classified qualifying calls only, with the outcome attached, and the transaction value where the call closed a sale.

  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.

Invoca → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the call

  • Sent from the Invoca call record with its classification

  • 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

    Number insertion ties the call to a session, but classification happens after the call ends — sometimes minutes later, which is outside the window some conversion pipelines expect.

  • Sent from the browser

    Firing on call start throws away the only thing this product adds. It also imports every wrong number, robocall and existing customer as a conversion.

  • 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

Invoca → PostHog · diagnose

Diagnostic order — Invoca → PostHog

  1. 01

    Count calls carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare total calls against classified qualifying calls

    The ratio differs enormously by campaign, and it is the number that should be driving bids.

  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.

Invoca → PostHog · prove

How it gets proven — Invoca → PostHog

Source of truth

Invoca calls classified by outcome, joined to the transaction they produced.

  • The distinct_id confirmed present on a live call.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • Classified qualifying calls reconciled against imported conversions for a settled period.

Invoca → PostHog · free audit

What we check in the free audit

  • Count calls carrying the distinct_id
  • Follow one real conversion end to end
  • Compare total calls against classified qualifying calls
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Invoca calls classified by outcome, joined to the transaction they produced.

Get my free conversion tracking audit

Free30 minutesNo obligation

Invoca → PostHog · when not to buy

When you don't need this — Invoca → PostHog

  • Measure identifier coverage yourself first — pull your last hundred calls and count how many carry the distinct_id.
  • If your call volume is low enough to review by hand, do that. Classification earns its cost at scale, not at ten calls a week.
  • 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.

Invoca → PostHog · what we deliver

What gets built — Invoca → PostHog

  • Identifier capture into Invoca

    Persist the identifier against the call record and send the conversion once the classification is final, not when the phone rings.

  • Event source: the Invoca call record with its classification

    Send classified qualifying calls only, with the outcome attached, and the transaction value where the call closed a sale.

  • 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

    Reclassified calls should correct rather than accumulate.

Written guarantee

95%+ tracking accuracy

Measured against Invoca calls classified by outcome, joined to the transaction they produced.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Invoca → PostHog questions, answered

Capture the PostHog distinct_id at number insertion and send the classified call through PostHog's capture API with that ID. Without it the call becomes an orphan person.

Free · 30 min

Get Invoca and PostHog joined properly

Free30 minutesNo obligation