Skip to main content
Marchex → SegmentIntegration guide

Connecting Marchex to Segment

Marchex sits with enterprises running calls across many locations, where the useful question is not whether the phone rang but which branch handled it and how. Segment is a customer data platform rather than an ad network, so sending to it is not about matching a conversion — it is about putting one clean event where every other destination can read it. The join between them succeeds or fails on one thing: whether the userId and anonymousId reaches the Marchex call before the conversion happens, because Segment can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Marchex calls in Segment: anonymousId on the number session

Store Segment's anonymousId and click IDs with the Marchex number session, then send a server-side track call with location, answered status, duration and classification, deriving messageId from the Marchex call ID. Send reclassifications as a distinct update event. Carry the web session's consent state and use destination filters to keep declined calls away from ad platforms.

Segment helps with Marchex when calls need to reach several places at once: Google Ads, Meta, a warehouse and the CRM, all agreeing on which calls qualified and at which branch. The identity work is the hard part. Callers are usually anonymous, so store Segment's anonymousId, plus any ad click IDs, with the Marchex number-insertion session when the tracked number is shown.

When the call record arrives, send a server-side track call with that anonymousId, properties for location ID, answered, duration and classification, and the caller's normalized number as a trait if your consent model allows it. Derive messageId from the Marchex call ID. Reclassified calls should be sent as a distinct update event, not a second Call Completed, or every downstream destination counts the call twice.

This pair has a specific privacy wrinkle: the caller never saw a consent banner on the phone. Carry the consent state from the web session that displayed the number; if that session declined marketing, use Segment's destination filters to keep the call away from ad platforms while still sending it to the warehouse. Calls from numbers on offline ads, with no web session at all, carry no consent and no click ID and should stay internal.

Marchex → Segment · what breaks

Why this join usually fails — Marchex → Segment

  1. 01

    The userId and anonymousId never reaches Marchex

    Number insertion has to be maintained across many location pages, and a single stale cached number sends a whole branch's calls to the wrong pool.

  2. 02

    Unanswered calls counted as leads

    At multi-location scale, a share of calls ring out or hit hold and abandon. Those are campaign spend converted into a bad customer experience, and they sit in the conversion count looking like success.

  3. 03

    One bad event multiplied across every destination

    Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.

  4. 04

    Nothing reconciles afterwards

    Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.

Marchex → Segment · the fix

What working looks like — Marchex → Segment

  • The userId and anonymousId on every call

  • Conversions arriving in Segment

    Events land in Segment and forward to every connected destination, warehouse included, on one shared definition.

  • Reconciled against the source

Marchex → Segment · architecture

How Marchex and Segment actually connect

  1. 1

    Marchex holds the truth

    In multi-location businesses a national campaign performs very differently by branch, and a pooled call count hides that entirely — including the branches that are not answering.

  2. 2

    Segment needs a click to match

    Segment needs a consistent identity model — the same userId everywhere, an alias when an anonymous visitor becomes known, and event names that follow one spec. Feeding it inconsistent identities pushes the mess to every connected destination at once.

  3. 3

    The identifier is the bridge

    The userId and anonymousId, captured at the visit and carried into the Marchex call.

  4. 4

    The event source decides reliability

    Send qualifying calls per location with the outcome, not a national total.

  5. 5

    Deduplication at the destination

    Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.

Marchex → Segment · normal or broken

Working vs. broken, side by side — Marchex → Segment

Normal, not a fault

  • The userId and anonymousId present on the call

  • Sent from the Marchex call record

  • Deduplicated correctly

    Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.

  • Reconciles with the source

Actually broken

  • The userId and anonymousId missing on most records

    Number insertion has to be maintained across many location pages, and a single stale cached number sends a whole branch's calls to the wrong pool.

  • Sent from the browser

    At multi-location scale, a share of calls ring out or hit hold and abandon. Those are campaign spend converted into a bad customer experience, and they sit in the conversion count looking like success.

  • Counted twice, or not at all

    Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.

  • Nobody has reconciled it

Marchex → Segment · diagnose

Diagnostic order — Marchex → Segment

  1. 01

    Count calls carrying the userId and anonymousId

  2. 02

    Follow one real conversion end to end

  3. 03

    Measure answer rate and abandonment by location

    Frequently the largest available improvement, and it is an operations fix rather than a media one.

  4. 04

    Check identity resolution before checking anything downstream

    If anonymousId is never aliased to userId, every destination sees two people where there is one, and no downstream fix helps.

  5. 05

    Read the match rate, not the success message

    Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.

Marchex → Segment · prove

How it gets proven — Marchex → Segment

Source of truth

Marchex calls by location, classified by outcome and joined to the local transaction.

  • The userId and anonymousId confirmed present on a live call.
  • An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
  • Answered qualifying calls reconciled per location against imported conversions.

Marchex → Segment · free audit

What we check in the free audit

  • Count calls carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Measure answer rate and abandonment by location
  • Check identity resolution before checking anything downstream
  • Read the match rate, not the success message

Checked against

Marchex calls by location, classified by outcome and joined to the local transaction.

Get my free conversion tracking audit

Free30 minutesNo obligation

Marchex → Segment · when not to buy

When you don't need this — Marchex → Segment

  • Measure identifier coverage yourself first — pull your last hundred calls and count how many carry the userId and anonymousId.
  • Single-location businesses do not need per-location provisioning and a simpler call-tracking product will do.
  • If you send to one or two destinations, Segment is infrastructure you do not need — direct integrations are simpler and cheaper. It earns its place at genuine fan-out.

Marchex → Segment · what we deliver

What gets built — Marchex → Segment

  • Identifier capture into Marchex

    Provision numbers per location, verify insertion on every location page, and join the call to the local system that records the outcome.

  • Event source: the Marchex call record

    Send qualifying calls per location with the outcome, not a national total.

  • Dispatch to Segment

    Server-side track and identify calls with a stable messageId, consistent userId, and the click identifier carried as a trait or property.

  • Reversals where they exist

    Reclassified calls correct.

Written guarantee

95%+ tracking accuracy

Measured against Marchex calls by location, classified by outcome and joined to the local transaction.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Marchex → Segment questions, answered

Store the Segment anonymousId with the Marchex number-insertion session, then send the call server-side to that anonymousId with the call ID as the basis of messageId.

Free · 30 min

Get Marchex and Segment joined properly

Free30 minutesNo obligation