Skip to main content
Pipedrive → GA4Integration guide

Connecting Pipedrive to GA4

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. GA4 is where the business goes to understand what happened, which makes an unattributed conversion there expensive in decisions rather than in ad spend. The join between them succeeds or fails on one thing: whether the GA4 client_id reaches the Pipedrive deal before the conversion happens, because GA4 can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Pipedrive to GA4: pipeline stages as lead events with client_id

Map Pipedrive to GA4's lead events: generate_lead at form submit, qualify_lead at deal creation or a qualified stage, close_convert_lead when won. Store the GA4 client_id on the deal, not only the person, and send through Measurement Protocol from the won webhook with deal value and currency, keeping a sent flag per deal ID since GA4 doesn't deduplicate.

GA4 has recommended events that map onto a Pipedrive pipeline almost directly: generate_lead when the form submits, qualify_lead when the deal is created or reaches a qualified stage, and close_convert_lead when the deal is marked won. Sending the later two needs the GA4 client_id stored on the Pipedrive deal, not only on the person, because the deal is created by a salesperson days later and the won webhook only sees deal fields.

Send the won event via Measurement Protocol when the deal status changes, with the actual deal value and currency. Measurement Protocol only backdates a short window, so a weekly batch of won deals arrives with today's date anyway; send from the webhook. The event attaches to the user who submitted the form rather than to a session, and how it shows in attribution reports depends on GA4's model, so check one won deal end to end.

Reopened deals are the specific risk for this pair: Pipedrive lets a won deal be reopened and won again, and GA4 has no deduplication. Keep a sent flag keyed on the deal ID and send close_convert_lead once per deal. If the deal is later lost or its value changes, GA4 has no adjustment mechanism; record the change in Pipedrive and reconcile there.

Pipedrive → GA4 · what breaks

Why this join usually fails — Pipedrive → GA4

  1. 01

    The GA4 client_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.

  2. 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.

  3. 03

    Everything lands under (direct)/(none)

    The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.

  4. 04

    Nothing reconciles afterwards

    GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.

Pipedrive → GA4 · the fix

What working looks like — Pipedrive → GA4

  • The GA4 client_id on every deal

  • Conversions arriving in GA4

    Conversions appear in GA4 attributed to the original session's source and medium, so acquisition reporting reflects what actually drove revenue.

  • Reconciled against the source

Pipedrive → GA4 · architecture

How Pipedrive and GA4 actually connect

  1. 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. 2

    GA4 needs a click to match

    GA4 needs the client_id to attach a server event to the user and session that produced the click. Without it there is no attribution to inherit and the event is orphaned.

  3. 3

    The identifier is the bridge

    The GA4 client_id, captured at the visit and carried into the Pipedrive deal.

  4. 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. 5

    Deduplication at the destination

    GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.

Pipedrive → GA4 · normal or broken

Working vs. broken, side by side — Pipedrive → GA4

Normal, not a fault

  • The GA4 client_id present on the deal

  • Sent from the Pipedrive deal-won webhook

  • Deduplicated correctly

    GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.

  • Reconciles with the source

Actually broken

  • The GA4 client_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 classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.

  • Nobody has reconciled it

Pipedrive → GA4 · diagnose

Diagnostic order — Pipedrive → GA4

  1. 01

    Count deals carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 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.

  4. 04

    Check whether server events carry a session and a source

    In GA4 Realtime or DebugView, find the event and look at its session and traffic source. A brand-new user with no source on every server event is the missing-client_id signature.

  5. 05

    Read the match rate, not the success message

    GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.

Pipedrive → GA4 · prove

How it gets proven — Pipedrive → GA4

Source of truth

Pipedrive's deals marked won by won-date, at their deal values.

  • The GA4 client_id confirmed present on a live deal.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • A reopened deal confirmed not to produce a second conversion.

Pipedrive → GA4 · free audit

What we check in the free audit

  • Count deals carrying the GA4 client_id
  • Follow one real conversion end to end
  • Open a won deal and look for the identifier field
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Pipedrive's deals marked won by won-date, at their deal values.

Get my free conversion tracking audit

Free30 minutesNo obligation

Pipedrive → GA4 · when not to buy

When you don't need this — Pipedrive → GA4

  • Measure identifier coverage yourself first — pull your last hundred deals and count how many carry the GA4 client_id.
  • If your median click-to-won exceeds 90 days, uploading closed-won against the original click cannot work.
  • GA4 is reporting, not bidding. If your problem is ad platform optimization, fix the ad platform destination first — GA4 will not change what any campaign does.

Pipedrive → GA4 · what we deliver

What gets built — Pipedrive → GA4

  • 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 GA4

    Measurement Protocol events with the client_id, session_id and the correct measurement ID and API secret, sent server-side.

  • 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.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Pipedrive → GA4 questions, answered

Store the GA4 client_id on the deal, then send close_convert_lead via Measurement Protocol from the deal-won webhook with the deal value. Without the client_id the won deal becomes a new user with no source.

Free · 30 min

Get Pipedrive and GA4 joined properly

Free30 minutesNo obligation