Skip to main content
CallTrackingMetrics → PostHogIntegration guide

Connecting CallTrackingMetrics to PostHog

CallTrackingMetrics covers calls, forms and texts through one system, which means the same lead can arrive three ways and be counted three times unless something reconciles them. 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 CallTrackingMetrics lead 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

CallTrackingMetrics calls as PostHog events on the same person

Pass PostHog's distinct_id into the CallTrackingMetrics session as custom visitor data. When a call reaches its final qualified state, post a server-side capture event with that distinct_id, the call's timestamp and an event UUID built from the CTM call ID, so later re-tags don't add events. Don't create persons for callers who never visited, and keep transcripts out.

PostHog is useful here because it can show what a visitor did on the site before they called, including which pricing page or FAQ preceded the call. That depends on one join: the PostHog distinct_id must reach the CallTrackingMetrics session. Read it from the PostHog library on the page and pass it to CTM as custom visitor data. When the call is tagged qualified, post a capture event server-side with that distinct_id and the call's own timestamp.

Use the CTM call ID to build the event UUID, so a retried webhook or a later re-tag of the same call does not create a second event. Calls get updated after they end. A rep adds a tag or a sale value an hour later, and if each update fires a new event, PostHog shows one caller converting three times. Send once when the call reaches its final qualified state, or overwrite person properties instead of adding events.

Don't create PostHog persons for callers who never visited the site, such as people dialling from a Google Business Profile listing, a vehicle wrap or a mailer. They have no distinct_id, and inventing one adds anonymous users that dilute every funnel. Keep transcripts, recordings and the caller's number out of event properties as well. On a self-hosted instance that data sits in your own database, but it still lands in a tool most of the team can query.

CallTrackingMetrics → PostHog · what breaks

Why this join usually fails — CallTrackingMetrics → PostHog

  1. 01

    The distinct_id never reaches CallTrackingMetrics

    A call carries no cookie. Dynamic number insertion is what ties the number dialled to the session, and it fails silently when a cached page serves a stale number.

  2. 02

    One person, three conversions

    Form, call and text from the same prospect become three leads in most setups. Cost per lead then reads as a third of reality and the campaign gets scaled on a number that was never true.

  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.

CallTrackingMetrics → PostHog · the fix

What working looks like — CallTrackingMetrics → PostHog

  • The distinct_id on every lead

  • Conversions arriving in PostHog

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

  • Reconciled against the source

CallTrackingMetrics → PostHog · architecture

How CallTrackingMetrics and PostHog actually connect

  1. 1

    CallTrackingMetrics holds the truth

    A prospect who fills a form and then calls to chase it is one lead. Multi-channel tracking makes double-counting the default rather than the exception.

  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 CallTrackingMetrics lead.

  4. 4

    The event source decides reliability

    Send the qualified outcome, deduplicated per person, not one event per channel touched.

  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.

CallTrackingMetrics → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the lead

  • Sent from the CallTrackingMetrics call and form records, joined to the CRM

  • 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

    A call carries no cookie. Dynamic number insertion is what ties the number dialled to the session, and it fails silently when a cached page serves a stale number.

  • Sent from the browser

    Form, call and text from the same prospect become three leads in most setups. Cost per lead then reads as a third of reality and the campaign gets scaled on a number that was never true.

  • 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

CallTrackingMetrics → PostHog · diagnose

Diagnostic order — CallTrackingMetrics → PostHog

  1. 01

    Count leads carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Deduplicate a month of leads on phone number and email

    The reduction is the size of the overcount, and on multi-channel setups it is routinely a fifth or more.

  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.

CallTrackingMetrics → PostHog · prove

How it gets proven — CallTrackingMetrics → PostHog

Source of truth

Qualified leads in your CRM, joined to the call, form or text that produced them.

  • The distinct_id confirmed present on a live lead.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • Deduplicated qualified leads reconciled against imported conversions for a settled month.

CallTrackingMetrics → PostHog · free audit

What we check in the free audit

  • Count leads carrying the distinct_id
  • Follow one real conversion end to end
  • Deduplicate a month of leads on phone number and email
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Qualified leads in your CRM, joined to the call, form or text that produced them.

Get my free conversion tracking audit

Free30 minutesNo obligation

CallTrackingMetrics → PostHog · when not to buy

When you don't need this — CallTrackingMetrics → PostHog

  • Measure identifier coverage yourself first — pull your last hundred leads and count how many carry the distinct_id.
  • If you only take one contact channel, deduplication is unnecessary and this is a simple call-tracking integration.
  • 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.

CallTrackingMetrics → PostHog · what we deliver

What gets built — CallTrackingMetrics → PostHog

  • Identifier capture into CallTrackingMetrics

    Use number insertion with a large enough pool that numbers are not recycled inside your sales cycle, and deduplicate on the caller's number at intake.

  • Event source: the CallTrackingMetrics call and form records, joined to the CRM

    Send the qualified outcome, deduplicated per person, not one event per channel touched.

  • 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

    Disqualified leads reverse.

Written guarantee

95%+ tracking accuracy

Measured against Qualified leads in your CRM, joined to the call, form or text that produced them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

CallTrackingMetrics → PostHog questions, answered

Pass the PostHog distinct_id into the CallTrackingMetrics session when the page loads, then send a capture event with that distinct_id when the call is qualified.

Free · 30 min

Get CallTrackingMetrics and PostHog joined properly

Free30 minutesNo obligation