Skip to main content
LiveChat → AmplitudeIntegration guide

Connecting LiveChat to Amplitude

LiveChat is agent-operated chat for mid-market companies, and its built-in goal tracking makes it unusually easy to create a conversion action that measures agent activity instead of revenue. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the LiveChat goal before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

LiveChat and Amplitude: does chat change retention?

Push the Amplitude device ID, and user ID once known, into the LiveChat widget as session variables so webhook events land on the right user. Send chat_started and chat_ended as behavioral events, never the agent goal as revenue; revenue comes from orders with a chat_assisted property. Resolve to the customer user ID and use the transcript ID as insert_id.

Amplitude can answer a question LiveChat's own reports cannot: whether customers who chatted before buying retain or expand differently from those who did not. That requires the chat to land on the same Amplitude user as the rest of their behavior. Push the Amplitude device ID, and the user ID once known, into the widget as session variables at load, so they come back on the chat webhook and the server can post the event to the right person.

Send chat_started and chat_ended as behavioral events, with properties like department and duration, but never send the agent-marked goal as a revenue event. Revenue comes from the order or CRM system, posted with price and quantity filled so Amplitude's revenue charts are not empty, plus a chat_assisted property you set when the customer email matches a recent transcript.

The specific failure for this pair is a chat that continues on another device. The second session arrives with a new device ID, so if the server trusts the latest session variable it attaches the chat to a stranger. Resolve to the user ID from the customer record whenever the pre-chat form gives you an email, and use the transcript ID as insert_id.

LiveChat → Amplitude · what breaks

Why this join usually fails — LiveChat → Amplitude

  1. 01

    The user ID and device ID pair never reaches LiveChat

    The chat window is a third-party frame, and chats frequently continue across sessions and devices while the ticket stays open.

  2. 02

    Agent-reported sales as a bidding signal

    Agents mark goals inconsistently, under time pressure, and sometimes according to how they are compensated. That is a reasonable management metric and a terrible thing to hand an automated bidding algorithm.

  3. 03

    Revenue events that carry no revenue

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  4. 04

    Nothing reconciles afterwards

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

LiveChat → Amplitude · the fix

What working looks like — LiveChat → Amplitude

  • The user ID and device ID pair on every goal

  • Conversions arriving in Amplitude

    The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.

  • Reconciled against the source

LiveChat → Amplitude · architecture

How LiveChat and Amplitude actually connect

  1. 1

    LiveChat holds the truth

    LiveChat's own goal and sales-tracking features are agent-reported. They are useful for coaching and unsuitable as an advertising conversion source, because a human decides whether they fire.

  2. 2

    Amplitude needs a click to match

    Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.

  3. 3

    The identifier is the bridge

    The user ID and device ID pair, captured at the visit and carried into the LiveChat goal.

  4. 4

    The event source decides reliability

    Send the settled commercial outcome, not the agent-marked goal.

  5. 5

    Deduplication at the destination

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

LiveChat → Amplitude · normal or broken

Working vs. broken, side by side — LiveChat → Amplitude

Normal, not a fault

  • The user ID and device ID pair present on the goal

  • Sent from your order or CRM record

  • Deduplicated correctly

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

  • Reconciles with the source

Actually broken

  • The user ID and device ID pair missing on most records

    The chat window is a third-party frame, and chats frequently continue across sessions and devices while the ticket stays open.

  • Sent from the browser

    Agents mark goals inconsistently, under time pressure, and sometimes according to how they are compensated. That is a reasonable management metric and a terrible thing to hand an automated bidding algorithm.

  • Counted twice, or not at all

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  • Nobody has reconciled it

LiveChat → Amplitude · diagnose

Diagnostic order — LiveChat → Amplitude

  1. 01

    Count goals carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare agent-marked goals against settled revenue

    The gap is usually wide enough to settle the argument about which one should be the conversion.

  4. 04

    Check a purchase event for the price and quantity fields specifically

    Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.

  5. 05

    Read the match rate, not the success message

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

LiveChat → Amplitude · prove

How it gets proven — LiveChat → Amplitude

Source of truth

Your order or CRM system, joined to the chat session by the agent-recorded identifier or the customer's email.

  • The user ID and device ID pair confirmed present on a live goal.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • Settled orders reconciled against imported conversions; agent-marked goals excluded.

LiveChat → Amplitude · free audit

What we check in the free audit

  • Count goals carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Compare agent-marked goals against settled revenue
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

Your order or CRM system, joined to the chat session by the agent-recorded identifier or the customer's email.

Get my free conversion tracking audit

Free30 minutesNo obligation

LiveChat → Amplitude · when not to buy

When you don't need this — LiveChat → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred goals and count how many carry the user ID and device ID pair.
  • If LiveChat is purely a support channel, no integration is warranted.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

LiveChat → Amplitude · what we deliver

What gets built — LiveChat → Amplitude

  • Identifier capture into LiveChat

    Push the identifier in as a custom variable at load. Expect multi-session conversations, and persist against the customer rather than the session.

  • Event source: your order or CRM record

    Send the settled commercial outcome, not the agent-marked goal.

  • Dispatch to Amplitude

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.

  • Reversals where they exist

    Refunds and cancelled deals reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your order or CRM system, joined to the chat session by the agent-recorded identifier or the customer's email.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

LiveChat → Amplitude questions, answered

Pass Amplitude's device and user IDs into the LiveChat widget as session variables, then post the chat events server-side from the webhook using those IDs.

Free · 30 min

Get LiveChat and Amplitude joined properly

Free30 minutesNo obligation