Skip to main content
Gorgias → SegmentIntegration guide

Connecting Gorgias to Segment

Gorgias is ecommerce customer support, and the commercially interesting thing it holds is the conversation that led to a sale rather than the sale itself. 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 Gorgias ticket 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

Gorgias events in Segment without leaking into ad destinations

Use a Gorgias HTTP integration calling your server to send Ticket Created and Ticket Closed track calls to Segment, with the store customer ID as userId. Add destination filters so ticket events reach warehouse and email tools but never Meta, Google or TikTok. Carry consent state, and build messageId from ticket ID plus status change.

Check Segment's catalog for a Gorgias integration in either direction. The dependable route is a Gorgias HTTP integration firing on ticket creation and updates, calling your server, which sends Ticket Created and Ticket Closed track calls to Segment. Use the store customer ID as userId, the same one your storefront's identify call sets, so tickets land on the same profile as orders.

The risk is specific to fan-out. Many Segment workspaces forward all track events to Meta, Google or TikTok destinations through broad mappings. Add Gorgias events and every support ticket reaches the ad platforms as a custom event, where it can end up in an audience or an optimization goal. Add destination filters so ticket events reach the warehouse and email tools and are blocked from every ad destination.

Carry consent state on ticket events. People who write to support have not necessarily agreed to marketing, and the support email is often the first address you have for them. Build messageId from the ticket ID plus the status change, because Gorgias fires many updates per ticket and a retried webhook should not appear in every connected tool twice.

Gorgias → Segment · what breaks

Why this join usually fails — Gorgias → Segment

  1. 01

    The userId and anonymousId never reaches Gorgias

    Most Gorgias tickets are support rather than pre-sales. Treating ticket volume or even ticket-attributed revenue as a marketing conversion confuses service load with acquisition.

  2. 02

    Support volume mistaken for demand

    The overwhelming majority of Gorgias tickets are existing customers with problems. Sending ticket events as conversions teaches an ad platform to find people who need help.

  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.

Gorgias → Segment · the fix

What working looks like — Gorgias → Segment

  • The userId and anonymousId on every ticket

  • Conversions arriving in Segment

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

  • Reconciled against the source

Gorgias → Segment · architecture

How Gorgias and Segment actually connect

  1. 1

    Gorgias holds the truth

    Gorgias can attribute revenue to support conversations, which is genuinely useful internally and is calculated on its own rules. It is not a substitute for the store's order record.

  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 Gorgias ticket.

  4. 4

    The event source decides reliability

    Send the order from the store. Use Gorgias to understand which conversations preceded orders, not as the conversion source itself.

  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.

Gorgias → Segment · normal or broken

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

Normal, not a fault

  • The userId and anonymousId present on the ticket

  • Sent from your store's order webhook, joined to the ticket where relevant

  • 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

    Most Gorgias tickets are support rather than pre-sales. Treating ticket volume or even ticket-attributed revenue as a marketing conversion confuses service load with acquisition.

  • Sent from the browser

    The overwhelming majority of Gorgias tickets are existing customers with problems. Sending ticket events as conversions teaches an ad platform to find people who need help.

  • 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

Gorgias → Segment · diagnose

Diagnostic order — Gorgias → Segment

  1. 01

    Count tickets carrying the userId and anonymousId

  2. 02

    Follow one real conversion end to end

  3. 03

    Check what proportion of tickets are pre-sales rather than support

    It is usually a small minority, and only that minority is relevant to acquisition.

  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.

Gorgias → Segment · prove

How it gets proven — Gorgias → Segment

Source of truth

Your store's orders — Gorgias records the conversation and the store records the money.

  • The userId and anonymousId confirmed present on a live ticket.
  • An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
  • Pre-sales conversations separated from support volume before any conversion claim is made.

Gorgias → Segment · free audit

What we check in the free audit

  • Count tickets carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Check what proportion of tickets are pre-sales rather than support
  • Check identity resolution before checking anything downstream
  • Read the match rate, not the success message

Checked against

Your store's orders — Gorgias records the conversation and the store records the money.

Get my free conversion tracking audit

Free30 minutesNo obligation

Gorgias → Segment · when not to buy

When you don't need this — Gorgias → Segment

  • Measure identifier coverage yourself first — pull your last hundred tickets and count how many carry the userId and anonymousId.
  • If your Gorgias is purely post-purchase support, it is not a conversion source and should not be treated as one.
  • 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.

Gorgias → Segment · what we deliver

What gets built — Gorgias → Segment

  • Identifier capture into Gorgias

    Where pre-sales chat matters, carry the identifier into the ticket's custom fields so a conversation that precedes a first order can be connected to the click that started it.

  • Event source: your store's order webhook, joined to the ticket where relevant

    Send the order from the store. Use Gorgias to understand which conversations preceded orders, not as the conversion source itself.

  • 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

    Refunds come from the store.

Written guarantee

95%+ tracking accuracy

Measured against Your store's orders — Gorgias records the conversation and the store records the money.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Gorgias → Segment questions, answered

Check the Segment catalog for your workspace. If none fits, send Gorgias webhooks to your server and post track calls to Segment's HTTP Tracking API.

Free · 30 min

Get Gorgias and Segment joined properly

Free30 minutesNo obligation