Connecting Pipedrive to PostHog
Pipedrive is pipeline-first, so the deal is the object that carries the money — and it is created by a salesperson days after the lead arrived. 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 Pipedrive deal 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 with Pipedrive: put deal outcomes on the company group
Use PostHog group analytics keyed on your workspace or company ID, stored on the Pipedrive organization. When a deal is won or lost, set group properties for stage, value and lost reason, plus a deal won event on the champion's distinct_id written onto the Pipedrive person. Derive event UUIDs from deal ID and outcome.
PostHog is useful next to Pipedrive for one question: what did accounts that closed do in the product during their trial, compared with accounts that were lost. That answer lives at the company level, so the join is PostHog group analytics keyed on your workspace or company ID, not the Pipedrive person. Store that company key on the Pipedrive organization, and when a deal is won or lost, set group properties for stage, value and lost reason, plus a deal won event on the champion's distinct_id.
The usual failure is ID mismatch on both sides. Pipedrive person IDs mean nothing to PostHog, and the distinct_id that the product assigned after sign-up has to be written onto the person when the trial user becomes a lead. If reps create leads by hand from a call, nobody will have done that, and the deal sits in PostHog unattached to any usage.
Give each event a UUID derived from the deal ID and outcome so a retried webhook or a reopened deal does not record twice. On a self-hosted instance, check that your ingestion endpoint accepts server-side calls from wherever your webhook handler runs.
Pipedrive → PostHog · what breaks
Why this join usually fails — Pipedrive → PostHog
- 01
The distinct_id never reaches Pipedrive
Pipedrive keeps people, organizations and deals as separate objects with separate custom fields. A value written to the person is not on the deal a salesperson creates a week later, and the deal is where the value lives.
- 02
The identifier stops at the person
It reaches the person record and never reaches the deal, which is the object that carries the money. Opening one won deal answers it in a minute.
- 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.
- 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.
Pipedrive → PostHog · the fix
What working looks like — Pipedrive → PostHog
The distinct_id on every deal
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
Pipedrive → PostHog · architecture
How Pipedrive and PostHog actually connect
- 1
Pipedrive holds the truth
Pin down which stage counts as won and whether the team applies it consistently — inconsistent stage discipline produces dates and numbers nobody can defend.
- 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
The identifier is the bridge
The distinct_id, captured at the visit and carried into the Pipedrive deal.
- 4
The event source decides reliability
Fire on the stage change to won, with the actual deal value rather than an average — the spread between deals is the signal bidding most needs.
- 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.
Pipedrive → PostHog · normal or broken
Working vs. broken, side by side — Pipedrive → PostHog
Normal, not a fault
The distinct_id present on the deal
Sent from the Pipedrive deal-won webhook
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
Pipedrive keeps people, organizations and deals as separate objects with separate custom fields. A value written to the person is not on the deal a salesperson creates a week later, and the deal is where the value lives.
Sent from the browser
It reaches the person record and never reaches the deal, which is the object that carries the money. Opening one won deal answers it in a minute.
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
Pipedrive → PostHog · diagnose
Diagnostic order — Pipedrive → PostHog
- 01
Count deals carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Open a won deal and look for the identifier field
If it is on the person and not the deal, you have found the cause.
- 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.
- 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.
Pipedrive → PostHog · prove
How it gets proven — Pipedrive → PostHog
Source of truth
Pipedrive's deals marked won by won-date, at their deal values.
- The distinct_id confirmed present on a live deal.
- Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
- A reopened deal confirmed not to produce a second conversion.
Pipedrive → PostHog · free audit
What we check in the free audit
- Count deals carrying the distinct_id
- Follow one real conversion end to end
- Open a won deal and look for the identifier field
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
Pipedrive's deals marked won by won-date, at their deal values.
Free30 minutesNo obligation
Pipedrive → PostHog · when not to buy
When you don't need this — Pipedrive → PostHog
- Measure identifier coverage yourself first — pull your last hundred deals and count how many carry the distinct_id.
- If your median click-to-won exceeds 90 days, uploading closed-won against the original click cannot work.
- 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.
Pipedrive → PostHog · what we deliver
What gets built — Pipedrive → PostHog
Identifier capture into Pipedrive
Create the custom field on the deal as well as the person, and copy it across on deal creation via automation or the API.
Event source: the Pipedrive deal-won webhook
Fire on the stage change to won, with the actual deal value rather than an average — the spread between deals is the signal bidding most needs.
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
A reopened deal should not double-count when it wins again; key on the deal ID.
Written guarantee
95%+ tracking accuracy
Measured against Pipedrive's deals marked won by won-date, at their deal values.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Pipedrive → PostHog questions, answered
Set deal stage, value and outcome as properties on a PostHog company group keyed on your workspace ID, which you store on the Pipedrive organization.
The product's distinct_id or company key was never written to the Pipedrive record, usually because the lead was created by hand.
Almost always because the distinct_id never reached the Pipedrive deal. Pipedrive keeps people, organizations and deals as separate objects with separate custom fields. A value written to the person is not on the deal a salesperson creates a week later, and the deal is where the value lives. Measure coverage before debugging the dispatch.
PostHog identifies by distinct_id with an alias call to merge anonymous and identified users. On a self-hosted instance you also control the ingestion endpoint, which means the identifier survives ad blockers that would kill a third-party pixel — one of the few genuine technical advantages available to a first-party setup.
The Pipedrive deal-won webhook. Fire on the stage change to won, with the actual deal value rather than an average — the spread between deals is the signal bidding most needs.
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.
More on Pipedrive → PostHog
- Pipedrive → Google AdsConnecting Pipedrive to Google Ads
- Pipedrive → MetaConnecting Pipedrive to Meta Conversions API
- Pipedrive → GA4Connecting Pipedrive to GA4
RELATED GUIDES
Where Pipedrive → PostHog fits in the rest of your tracking
- Clio → PostHogConnecting Clio to PostHog
- SugarCRM → PostHogConnecting SugarCRM to PostHog
- monday → PostHogConnecting monday CRM to PostHog
- Pipedrive → Adobe AnalyticsConnecting Pipedrive to Adobe Analytics
- Pipedrive → GA4Connecting Pipedrive to GA4
- Law firmsConversion tracking for law firms, without sending case details anywhere
- Nutshell → PostHogConnecting Nutshell to PostHog
- Zoho Books → PostHogConnecting Zoho Books to PostHog
Free · 30 min
Get Pipedrive and PostHog joined properly
Free30 minutesNo obligation
