Skip to main content
Intercom → MatomoIntegration guide

Connecting Intercom to Matomo

Intercom is mostly a support inbox with a sales product attached, and the difference between those two conversation types is the difference between a lead and a ticket. 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 Intercom conversation 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

Intercom chats in Matomo: engagement events and a qualified goal

Track Intercom Messenger opens in Matomo as events from Intercom's JavaScript callbacks, not goals. Pass Matomo's visitor ID into Intercom as a custom attribute at boot, and when the CRM accepts a lead or booked demo, post a goal conversion through Matomo's HTTP Tracking API against that visitor ID. If consent gates Intercom, document the resulting under-count.

Matomo cannot see inside the Messenger, since it runs in an Intercom-served frame, but Intercom's JavaScript callbacks fire on your page when the Messenger opens or a visitor supplies an email. Track those as Matomo events, not goals. They tell you where chat is started and by whom; they say nothing about pre-sales intent, and on most sites the majority come from logged-in customers.

For the goal, use the qualified outcome. Pass Matomo's visitor ID into Intercom as a custom attribute at boot. When the CRM accepts the conversation as a lead or a booked demo, post a goal conversion to Matomo's HTTP Tracking API against that visitor ID, so it lands on the original visit's acquisition source rather than on a server request with no history. Set a user ID for logged-in customers in Matomo too, so you can segment them out of chat engagement reports.

There is a privacy point that Matomo users tend to care about: the Matomo instance may be self-hosted and first-party, but the Intercom widget is a third-party service that sets its own storage. If your consent banner gates Intercom, the visitor ID attribute is only written for people who accepted, and the qualified goal will under-count; document that limit rather than working around it.

Intercom → Matomo · what breaks

Why this join usually fails — Intercom → Matomo

  1. 01

    The first-party visitor ID never reaches Intercom

    The Messenger runs in an Intercom-served frame with its own storage. It does not see your page's cookies unless you deliberately pass attributes into it.

  2. 02

    Support volume optimized as if it were demand

    This is the single most common failure on chat platforms. Chat-started fires on every customer with a billing question, the platform learns that people with problems are valuable, and spend flows toward exactly the wrong audience.

  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.

Intercom → Matomo · the fix

What working looks like — Intercom → 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

Intercom → Matomo · architecture

How Intercom and Matomo actually connect

  1. 1

    Intercom holds the truth

    The overwhelming majority of conversations in a mature Intercom workspace are existing customers asking for help. Importing conversation volume as a conversion signal tells your ad platforms to go find you more support tickets.

  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 Intercom conversation.

  4. 4

    The event source decides reliability

    Send the qualified outcome — a booked demo or a started trial — not the conversation opening. Opening a chat is not intent, it is curiosity or confusion.

  5. 5

    Deduplication at the destination

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

Intercom → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the conversation

  • Sent from the Intercom contact and conversation API

  • 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 Messenger runs in an Intercom-served frame with its own storage. It does not see your page's cookies unless you deliberately pass attributes into it.

  • Sent from the browser

    This is the single most common failure on chat platforms. Chat-started fires on every customer with a billing question, the platform learns that people with problems are valuable, and spend flows toward exactly the wrong audience.

  • 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

Intercom → Matomo · diagnose

Diagnostic order — Intercom → Matomo

  1. 01

    Count conversations carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Split conversations by whether the person is already a customer

    Run it once. On most SaaS workspaces the pre-sales share is under a fifth, which reframes the entire integration.

  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.

Intercom → Matomo · prove

How it gets proven — Intercom → Matomo

Source of truth

Intercom conversations filtered to pre-sales intent, joined to whatever they became in your CRM.

  • The first-party visitor ID confirmed present on a live conversation.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Qualified pre-sales outcomes reconciled against imported conversions, with support conversations demonstrably excluded.

Intercom → 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
  • Split conversations by whether the person is already a customer
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Intercom conversations filtered to pre-sales intent, joined to whatever they became in your CRM.

Get my free conversion tracking audit

Free30 minutesNo obligation

Intercom → Matomo · when not to buy

When you don't need this — Intercom → Matomo

  • Measure identifier coverage yourself first — pull your last hundred conversations and count how many carry the first-party visitor ID.
  • If you use Intercom purely for customer support, there is no acquisition event in it and the correct integration is none.
  • 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.

Intercom → Matomo · what we deliver

What gets built — Intercom → Matomo

  • Identifier capture into Intercom

    Pass the identifier as a custom attribute at boot, so it is written onto the contact record and survives into the CRM when the conversation converts.

  • Event source: the Intercom contact and conversation API

    Send the qualified outcome — a booked demo or a started trial — not the conversation opening. Opening a chat is not intent, it is curiosity or confusion.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Disqualified conversations should be reversed if they were ever sent as conversions.

Written guarantee

95%+ tracking accuracy

Measured against Intercom conversations filtered to pre-sales intent, joined to whatever they became in your CRM.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Intercom → Matomo questions, answered

It can track Messenger opens through Intercom's JavaScript callbacks, and qualified outcomes sent server-side against the visitor ID you stored on the Intercom contact.

Free · 30 min

Get Intercom and Matomo joined properly

Free30 minutesNo obligation