Skip to main content
LiveChat → TikTokIntegration guide

Connecting LiveChat to TikTok Events API

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. TikTok's audience skews to exactly the browsers and app contexts where browser-side tracking performs worst. The join between them succeeds or fails on one thing: whether the ttclid reaches the LiveChat goal before the conversion happens, because TikTok can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

LiveChat and TikTok: chat starts in-app, the sale closes elsewhere

Send CompletePayment from the settled order with event_id from the order ID, the stored ttclid and hashed email and phone, because TikTok chats start in the in-app browser and purchases often finish on desktop. Set the ttclid and _ttp as chat session variables at widget load. Contact on chat start is optional; skip it if TikTok chats rarely become orders.

TikTok visitors meet your LiveChat widget inside the TikTok in-app browser, often on a small screen with the chat overlay covering the page. Many will start a question there and finish the purchase later on a desktop, after an agent follows up by email or in a new chat. The ttclid from the first visit is not on the desktop, so the email the customer gives in the chat is what joins them.

When the widget loads, read the ttclid from the landing URL or your first-party cookie and the _ttp cookie, and set both as chat session variables so they ride into the CRM record. Send Contact when a chat starts if you want an upper-funnel signal, and send CompletePayment from the settled order, with event_id from the order ID, the stored ttclid if present, and the hashed email and phone.

Quick questions that never become orders can dominate chat volume from short-video traffic. Check the ratio of TikTok-sourced chats to TikTok-sourced settled orders before giving TikTok a chat event at all; if it is far worse than other channels, sending Contact will teach TikTok's optimization to find more question-askers, and CompletePayment alone is the better signal.

LiveChat → TikTok · what breaks

Why this join usually fails — LiveChat → TikTok

  1. 01

    The ttclid 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

    The ttclid is lost in the in-app browser

    TikTok traffic arrives through an in-app webview whose storage behavior is inconsistent. An identifier captured but not immediately persisted server-side often is not there by the time the conversion happens.

  4. 04

    Nothing reconciles afterwards

    TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.

LiveChat → TikTok · the fix

What working looks like — LiveChat → TikTok

  • The ttclid on every goal

  • Conversions arriving in TikTok

    Events appear in TikTok Events Manager, deduplicated against the pixel, and become usable for optimization.

  • Reconciled against the source

LiveChat → TikTok · architecture

How LiveChat and TikTok 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

    TikTok Events API needs a click to match

    TikTok matches server events using ttclid where available, falling back to hashed contact information. Both should be sent — the fallback is what carries the events where the click ID did not survive.

  3. 3

    The identifier is the bridge

    The ttclid, 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

    TikTok deduplicates on event_id, the same pattern as Meta: the pixel and the Events API must send the same event_id for the same conversion. Mismatched IDs mean double counting.

LiveChat → TikTok · normal or broken

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

Normal, not a fault

  • The ttclid present on the goal

  • Sent from your order or CRM record

  • Deduplicated correctly

    TikTok deduplicates on event_id, the same pattern as Meta: the pixel and the Events API must send the same event_id for the same conversion. Mismatched IDs mean double counting.

  • Reconciles with the source

Actually broken

  • The ttclid 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

    TikTok traffic arrives through an in-app webview whose storage behavior is inconsistent. An identifier captured but not immediately persisted server-side often is not there by the time the conversion happens.

  • Nobody has reconciled it

LiveChat → TikTok · diagnose

Diagnostic order — LiveChat → TikTok

  1. 01

    Count goals carrying the ttclid

  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

    Measure ttclid capture rate on TikTok traffic specifically

    Not on all traffic. TikTok's in-app browser is the failure case, so a healthy overall capture rate can hide a poor one on exactly the traffic that matters.

  5. 05

    Read the match rate, not the success message

    TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.

LiveChat → TikTok · prove

How it gets proven — LiveChat → TikTok

Source of truth

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

  • The ttclid confirmed present on a live goal.
  • Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
  • Settled orders reconciled against imported conversions; agent-marked goals excluded.

LiveChat → TikTok · free audit

What we check in the free audit

  • Count goals carrying the ttclid
  • Follow one real conversion end to end
  • Compare agent-marked goals against settled revenue
  • Measure ttclid capture rate on TikTok traffic 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 → TikTok · when not to buy

When you don't need this — LiveChat → TikTok

  • Measure identifier coverage yourself first — pull your last hundred goals and count how many carry the ttclid.
  • If LiveChat is purely a support channel, no integration is warranted.
  • If TikTok is a small share of spend, the effort is hard to justify. It pays when TikTok is a channel you are actively scaling.

LiveChat → TikTok · what we deliver

What gets built — LiveChat → TikTok

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

    Server events to the TikTok Events API with the ttclid, hashed contact information and a matching event_id.

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

Only if chats from TikTok convert to orders at a decent rate. Otherwise optimize on CompletePayment from settled orders and keep chat events out.

Free · 30 min

Get LiveChat and TikTok joined properly

Free30 minutesNo obligation