Skip to main content
Kustomer → MatomoIntegration guide

Connecting Kustomer to Matomo

Kustomer builds a timeline per customer rather than a queue of tickets, which makes it unusually good at answering the question ordinary support tools cannot: what an acquisition source costs you after the sale. 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 Kustomer customer timeline 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

Kustomer and Matomo: support contacts per campaign via user ID

Joining Kustomer to Matomo needs the Matomo user ID written onto the Kustomer customer. Send a Matomo event through the HTTP Tracking API when a conversation is created, with a support category, channel as action, the user ID and the original conversation time using an auth token. Purchases come from the order system; events carry only IDs and fixed categories.

Matomo holds the browser half of this report: which campaign and landing page a visitor came from. Kustomer holds the half after the sale. The only thing that lets you say customers from a given campaign contact support twice as often is a shared key: the user ID you set in Matomo at login or checkout, written onto the Kustomer customer as an external ID or custom attribute. Without it, the two systems describe the same people and cannot be joined.

Purchases go to Matomo as ecommerce orders from the order system, with the order ID. From Kustomer, send a Matomo event when a conversation is created, with a category like support, the channel as the action, and the same user ID, through the HTTP Tracking API. Backdated hits need an auth token, so set the original conversation time rather than the time your job ran. A segment on acquisition campaign then shows support events per order.

Two things break this. The Kustomer chat widget runs in its own frame, so chat starts never reach Matomo unless you hook the widget's events yourself. And self-hosted Matomo stores whatever you send in plain text in your own database: put an email address or a contact reason typed by the customer into an event name and it sits in every report export. Keep events to IDs and fixed categories.

Kustomer → Matomo · what breaks

Why this join usually fails — Kustomer → Matomo

  1. 01

    The first-party visitor ID never reaches Kustomer

    Contacts arrive across email, chat, SMS and social, and none of them carry a click identifier.

  2. 02

    Acquisition cost measured without service cost

    A channel producing customers who contact support four times each is more expensive than its cost per acquisition says, sometimes by more than the margin on the order.

  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.

Kustomer → Matomo · the fix

What working looks like — Kustomer → Matomo

  • The first-party visitor ID on every conversation

  • 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

Kustomer → Matomo · architecture

How Kustomer and Matomo actually connect

  1. 1

    Kustomer holds the truth

    Timeline-per-customer means contact volume, channel mix and resolution cost can all be attributed back to how that customer was acquired — which is a genuinely useful and almost never used signal.

  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 Kustomer customer timeline.

  4. 4

    The event source decides reliability

    Send purchases. Report contacts-per-customer and resolution time by acquisition source alongside.

  5. 5

    Deduplication at the destination

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

Kustomer → Matomo · normal or broken

Working vs. broken, side by side — Kustomer → Matomo

Normal, not a fault

  • The first-party visitor ID present on the conversation

  • Sent from your order system

  • 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

    Contacts arrive across email, chat, SMS and social, and none of them carry a click identifier.

  • Sent from the browser

    A channel producing customers who contact support four times each is more expensive than its cost per acquisition says, sometimes by more than the margin on the order.

  • 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

Kustomer → Matomo · diagnose

Diagnostic order — Kustomer → Matomo

  1. 01

    Count conversations carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare contacts per customer across acquisition sources

    The spread is usually wide, and it changes which channels are actually profitable.

  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.

Kustomer → Matomo · prove

How it gets proven — Kustomer → Matomo

Source of truth

Your order system, enriched with the customer's full support history from Kustomer.

  • The first-party visitor ID confirmed present on a live conversation.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Purchases reconciled against imported conversions, with support contacts per customer reported by source.

Kustomer → Matomo · free audit

What we check in the free audit

  • Count conversations carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Compare contacts per customer across acquisition sources
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Your order system, enriched with the customer's full support history from Kustomer.

Get my free conversion tracking audit

Free30 minutesNo obligation

Kustomer → Matomo · when not to buy

When you don't need this — Kustomer → Matomo

  • Measure identifier coverage yourself first — pull your last hundred conversations and count how many carry the first-party visitor ID.
  • If support volume is low and uniform, this refinement will not change any decision you make.
  • 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.

Kustomer → Matomo · what we deliver

What gets built — Kustomer → Matomo

  • Identifier capture into Kustomer

    Join on the customer record and report support cost per acquisition source rather than attributing conversations.

  • Event source: your order system

    Send purchases. Report contacts-per-customer and resolution time by acquisition source alongside.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, enriched with the customer's full support history from Kustomer.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Kustomer → Matomo questions, answered

Yes, if Kustomer conversations are sent to Matomo as events under the same user ID the site sets, then segmented by the visit's campaign. Without a shared user ID it cannot.

Free · 30 min

Get Kustomer and Matomo joined properly

Free30 minutesNo obligation