Skip to main content
Pipedrive → X AdsIntegration guide

Connecting Pipedrive to X Ads

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. X is a conversation platform where a large share of engagement is discussion rather than intent, which makes the gap between engagement metrics and conversions unusually wide. The join between them succeeds or fails on one thing: whether the twclid click identifier reaches the Pipedrive deal before the conversion happens, because X Ads can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Pipedrive deals and X Ads: twclid from the form to the won deal

Capture the X twclid server-side on landing, tie it to any email given in that first session, and write it to a Pipedrive person field copied to the deal. Send a lead event at form submission with the Pipedrive lead or person ID as conversion ID, and a purchase at deal won with value, accepting short X windows.

B2B buyers often click an X ad on their phone, read in X's in-app browser, and fill in the form days later from a laptop. By then the twclid is gone from both browsers. Capture it server-side on landing, and if the visitor gives an email in that first session (a newsletter or content form counts), store the twclid against the email so the later demo request can be joined to it. Otherwise the hashed email on the eventual deal is your only match key.

Write the twclid into a custom field on the Pipedrive person and copy it to the deal at creation, as the spec describes. Send a lead event at form submission with the Pipedrive lead or person ID as the conversion ID, and a purchase at deal-won with the deal value, accepting that X's conversion window will not cover many sales cycles; confirm the current windows in your account.

X B2B threads collect engagement from peers, competitors and people who will never buy. Judge campaigns on deals created and won in Pipedrive by campaign, using a UTM value stored on the deal, rather than on X's engagement numbers, which tend to move the opposite way.

Pipedrive → X Ads · what breaks

Why this join usually fails — Pipedrive → X Ads

  1. 01

    The twclid click identifier 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

    Engagement mistaken for intent

    A post can be quoted, argued with and shared widely by people with no interest in buying anything. Optimising toward engagement on this platform reliably finds an audience that will never convert, and the engagement numbers look excellent throughout.

  4. 04

    Nothing reconciles afterwards

    Read the delivered and matched counts in X's reporting rather than assuming a 200 response means the event was usable.

Pipedrive → X Ads · the fix

What working looks like — Pipedrive → X Ads

  • The twclid click identifier on every deal

  • Conversions arriving in X Ads

    The conversion is matched to a click or an engagement and becomes available for optimisation and reporting.

  • Reconciled against the source

Pipedrive → X Ads · architecture

How Pipedrive and X Ads 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

    X Ads needs a click to match

    An event X recognises, a conversion identifier for deduplication, hashed customer information, and the click identifier where you have it.

  3. 3

    The identifier is the bridge

    The twclid click identifier, 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

    X deduplicates browser and server events on a shared conversion ID. Send both without pairing them and every conversion counts twice — worth testing deliberately, because X volumes are often small enough that a doubling reads as a good week.

Pipedrive → X Ads · normal or broken

Working vs. broken, side by side — Pipedrive → X Ads

Normal, not a fault

  • The twclid click identifier present on the deal

  • Sent from the Pipedrive deal-won webhook

  • Deduplicated correctly

    X deduplicates browser and server events on a shared conversion ID. Send both without pairing them and every conversion counts twice — worth testing deliberately, because X volumes are often small enough that a doubling reads as a good week.

  • Reconciles with the source

Actually broken

  • The twclid click identifier 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

    A post can be quoted, argued with and shared widely by people with no interest in buying anything. Optimising toward engagement on this platform reliably finds an audience that will never convert, and the engagement numbers look excellent throughout.

  • Nobody has reconciled it

Pipedrive → X Ads · diagnose

Diagnostic order — Pipedrive → X Ads

  1. 01

    Count deals carrying the twclid click identifier

  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

    Compare engagement rate against conversion rate by campaign

    On X the two frequently move in opposite directions, and that divergence is the finding rather than a measurement fault.

  5. 05

    Read the match rate, not the success message

    Read the delivered and matched counts in X's reporting rather than assuming a 200 response means the event was usable.

Pipedrive → X Ads · prove

How it gets proven — Pipedrive → X Ads

Source of truth

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

  • The twclid click identifier confirmed present on a live deal.
  • Conversions reconciled per order against imported figures, with deduplication verified on a live test.
  • A reopened deal confirmed not to produce a second conversion.

Pipedrive → X Ads · free audit

What we check in the free audit

  • Count deals carrying the twclid click identifier
  • Follow one real conversion end to end
  • Open a won deal and look for the identifier field
  • Compare engagement rate against conversion rate by campaign
  • 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 → X Ads · when not to buy

When you don't need this — Pipedrive → X Ads

  • Measure identifier coverage yourself first — pull your last hundred deals and count how many carry the twclid click identifier.
  • If your median click-to-won exceeds 90 days, uploading closed-won against the original click cannot work.
  • If X is a brand and community channel for you rather than a performance one, measure it that way and do not force a conversion pipeline onto it.

Pipedrive → X Ads · what we deliver

What gets built — Pipedrive → X Ads

  • 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 X Ads

    The X Conversions API, posted server-side with the click identifier and hashed customer data.

  • 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 → X Ads questions, answered

Store the twclid on the deal, then on the deal-won webhook post a conversion to X's Conversions API with the twclid, hashed email, deal value and the deal ID as the conversion ID.

Free · 30 min

Get Pipedrive and X Ads joined properly

Free30 minutesNo obligation