Skip to main content
Tawk.to → MatomoIntegration guide

Connecting Tawk.to to Matomo

Tawk.to is free, which is why it is everywhere on small business sites, and free means the integration surface is thin — most of the work here is deciding what not to send. Matomo can be self-hosted with no third party in the chain, which makes it the one analytics destination where the data genuinely never leaves infrastructure you control. The join between them succeeds or fails on one thing: whether the first-party visitor ID reaches the Tawk.to chat before the conversion happens, because Matomo can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Tawk.to chats as Matomo events and goals

Push Matomo events from Tawk.to's JavaScript API callbacks on your page: chat started, pre-chat form submitted and offline message sent. Build goals on the two enquiry events, set each to convert once per visit, and send the booked job later through the HTTP Tracking API using the Matomo visitor ID stored as a Tawk.to attribute.

Matomo's tracker runs in your own page and can't see inside the Tawk.to frame, but the Tawk.to JavaScript API callbacks fire in that same page, so each one can push a Matomo event: chat started, pre-chat form submitted, offline message sent. Use a consistent category and action naming, then build goals on the two that represent enquiries. Check whether a ready-made plugin exists for your Matomo version before writing your own, but the callback route takes only a few lines.

Self-hosting is where this pair is genuinely stronger than a hosted analytics tool. A Matomo tracker served from your domain is blocked less often than third-party tags, so the visitor who opens a chat is more likely to also be in your analytics, and their source, landing page and earlier visits are already attached. For a small business measuring which pages produce chats, that alone answers most questions.

Configure each chat goal to convert once per visit, because the started callback can fire again after a reload. The booked job, which is the real conversion, can later be sent through the HTTP Tracking API with the Matomo visitor ID if you store that ID alongside the chat as a Tawk.to attribute.

Tawk.to → Matomo · what breaks

Why this join usually fails — Tawk.to → Matomo

  1. 01

    The first-party visitor ID never reaches Tawk.to

    The widget is a third-party frame with no access to your page storage, and the free tier's attribute support is limited.

  2. 02

    A free tool asked to do a system-of-record job

    Tawk.to is genuinely good at what it does and it is not a CRM. Building attribution on top of a chat log will produce numbers nobody can reconcile in three months.

  3. 03

    Owning the pipeline means owning the outage

    The advantage is that nothing blocks it. The cost is that when the tracking database fills or falls behind on a weekend, the data is gone and no vendor is paging anyone. Hosted tools fail more visibly.

  4. 04

    Nothing reconciles afterwards

    Matomo exposes raw visit logs, so you can inspect the actual hit rather than an aggregate. Check the log, and check ingestion lag alongside it.

Tawk.to → Matomo · the fix

What working looks like — Tawk.to → Matomo

  • The first-party visitor ID on every chat

  • Conversions arriving in Matomo

    The event lands in your own database and is queryable directly, including the raw log, which most analytics products do not expose.

  • Reconciled against the source

Tawk.to → Matomo · architecture

How Tawk.to and Matomo actually connect

  1. 1

    Tawk.to holds the truth

    On the small service businesses that use Tawk.to most, the actual conversion is a phone call or a booked job, and the chat is one step on the way there.

  2. 2

    Matomo needs a click to match

    The site ID, the visitor identifier and the event or ecommerce order. Self-hosted instances additionally need the tracker endpoint reachable and the database keeping up, which hosted tools do not fail at.

  3. 3

    The identifier is the bridge

    The first-party visitor ID, captured at the visit and carried into the Tawk.to chat.

  4. 4

    The event source decides reliability

    Send the booked job or the qualified enquiry. Chat volume stays in Tawk.to.

  5. 5

    Deduplication at the destination

    Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.

Tawk.to → Matomo · normal or broken

Working vs. broken, side by side — Tawk.to → Matomo

Normal, not a fault

  • The first-party visitor ID present on the chat

  • Sent from your booking or enquiry record

  • Deduplicated correctly

    Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.

  • Reconciles with the source

Actually broken

  • The first-party visitor ID missing on most records

    The widget is a third-party frame with no access to your page storage, and the free tier's attribute support is limited.

  • Sent from the browser

    Tawk.to is genuinely good at what it does and it is not a CRM. Building attribution on top of a chat log will produce numbers nobody can reconcile in three months.

  • Counted twice, or not at all

    The advantage is that nothing blocks it. The cost is that when the tracking database fills or falls behind on a weekend, the data is gone and no vendor is paging anyone. Hosted tools fail more visibly.

  • Nobody has reconciled it

Tawk.to → Matomo · diagnose

Diagnostic order — Tawk.to → Matomo

  1. 01

    Count chats carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Identify where the actual conversion is recorded

    For most Tawk.to users it is a calendar, a notebook or a phone. That is where the integration has to start.

  4. 04

    Check tracker reachability and database lag before debugging any tag

    On self-hosted analytics the answer is infrastructure more often than instrumentation.

  5. 05

    Read the match rate, not the success message

    Matomo exposes raw visit logs, so you can inspect the actual hit rather than an aggregate. Check the log, and check ingestion lag alongside it.

Tawk.to → Matomo · prove

How it gets proven — Tawk.to → Matomo

Source of truth

Your own booking, order or enquiry record. Tawk.to is a conversation log, not a system of record.

  • The first-party visitor ID confirmed present on a live chat.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Booked jobs reconciled against imported conversions, with chat volume reported separately.

Tawk.to → Matomo · free audit

What we check in the free audit

  • Count chats carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Identify where the actual conversion is recorded
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Your own booking, order or enquiry record. Tawk.to is a conversation log, not a system of record.

Get my free conversion tracking audit

Free30 minutesNo obligation

Tawk.to → Matomo · when not to buy

When you don't need this — Tawk.to → Matomo

  • Measure identifier coverage yourself first — pull your last hundred chats and count how many carry the first-party visitor ID.
  • Very small operations should measure calls and bookings and leave the chat widget out of the ad account entirely.
  • If you have no privacy or ownership requirement and no team to run it, a hosted product removes the only real cost of this one.

Tawk.to → Matomo · what we deliver

What gets built — Tawk.to → Matomo

  • Identifier capture into Tawk.to

    Set visitor attributes where the API allows and accept that on this platform the join is often manual — matched on the email or phone number the visitor typed.

  • Event source: your booking or enquiry record

    Send the booked job or the qualified enquiry. Chat volume stays in Tawk.to.

  • Dispatch to Matomo

    The Matomo HTTP Tracking API, posted server-side from your order system.

  • Reversals where they exist

    Cancelled jobs reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your own booking, order or enquiry record. Tawk.to is a conversation log, not a system of record.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Tawk.to → Matomo questions, answered

Not by default. Push Matomo events from the Tawk.to JavaScript API callbacks and set goals on the ones that represent enquiries.

Free · 30 min

Get Tawk.to and Matomo joined properly

Free30 minutesNo obligation