Skip to main content
Drift → MatomoIntegration guide

Connecting Drift to Matomo

Drift is the one chat platform genuinely built for acquisition — its whole design is chat-to-meeting on B2B websites — which makes the booked meeting a legitimate conversion and the conversation opening still not one. 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 Drift meeting booking 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

Drift to Matomo: goals from widget events and held meetings

Listen for Drift's meeting-booked event on the host page and record a Matomo goal, never conversation opens. Store Matomo's visitor ID as a Drift user attribute, then send held meetings through the HTTP Tracking API from your server with an authentication token so backdated timestamps are accepted. Keep booked and held as separate goals.

Matomo's tracker sits on your page; Drift's chat runs in a frame Matomo cannot see into. A Matomo page view on a page where someone booked a demo looks identical to one where nobody touched the chat. The fix is on the host page: Drift's JavaScript API exposes widget events, including a meeting being booked, to your own code, and that listener is where you record a Matomo goal. Do not track conversation opened as a goal; on a B2B site it will dwarf every other number.

The held meeting happens days later, away from any browser, so it has to reach Matomo through the HTTP Tracking API from your server. That only lands on the right visitor if you stored Matomo's visitor ID on the Drift contact when the widget loaded, as a user attribute set through the widget's API. Matomo also rejects old timestamps on tracking requests unless the request is authenticated, so a held-meeting goal recorded a week after the booking needs a token, or it shows up dated today.

Two separate goals, booked and held, give you the ratio in Matomo's own reports by channel. If Matomo runs cookieless under your consent setup, the visitor ID will not survive until the meeting, and held meetings will look like direct traffic.

Drift → Matomo · what breaks

Why this join usually fails — Drift → Matomo

  1. 01

    The first-party visitor ID never reaches Drift

    Drift's widget is a third-party frame, and the meeting scheduler frequently hands off to a calendar surface on another domain again.

  2. 02

    Bookings counted, attendance ignored

    A booked meeting costs the prospect nothing. Optimize toward it and the platform will reliably find you people happy to book and disinclined to show up.

  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.

Drift → Matomo · the fix

What working looks like — Drift → Matomo

  • The first-party visitor ID on every meeting

  • 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

Drift → Matomo · architecture

How Drift and Matomo actually connect

  1. 1

    Drift holds the truth

    Booked and held are different numbers and the gap is large. B2B demo no-show rates routinely run a third or worse, and optimizing toward bookings buys you no-shows.

  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 Drift meeting booking.

  4. 4

    The event source decides reliability

    Send held meetings, and send the CRM opportunity separately as a higher-value downstream event.

  5. 5

    Deduplication at the destination

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

Drift → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the meeting

  • Sent from the Drift conversation and meeting 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

    Drift's widget is a third-party frame, and the meeting scheduler frequently hands off to a calendar surface on another domain again.

  • Sent from the browser

    A booked meeting costs the prospect nothing. Optimize toward it and the platform will reliably find you people happy to book and disinclined to show up.

  • 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

Drift → Matomo · diagnose

Diagnostic order — Drift → Matomo

  1. 01

    Count meetings carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare booked against held for one closed month

    The ratio tells you immediately whether your conversion definition is measuring intent or measuring politeness.

  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.

Drift → Matomo · prove

How it gets proven — Drift → Matomo

Source of truth

Meetings booked through Drift that were subsequently held, joined to the CRM opportunity.

  • The first-party visitor ID confirmed present on a live meeting.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Held meetings reconciled against imported conversions over a fully closed booking window.

Drift → Matomo · free audit

What we check in the free audit

  • Count meetings carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Compare booked against held for one closed month
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Meetings booked through Drift that were subsequently held, joined to the CRM opportunity.

Get my free conversion tracking audit

Free30 minutesNo obligation

Drift → Matomo · when not to buy

When you don't need this — Drift → Matomo

  • Measure identifier coverage yourself first — pull your last hundred meetings and count how many carry the first-party visitor ID.
  • If your sales motion is self-serve with no meetings, Drift is a support tool for you and none of this applies.
  • 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.

Drift → Matomo · what we deliver

What gets built — Drift → Matomo

  • Identifier capture into Drift

    Pass the identifier into Drift as a contact attribute at load, and carry it through the scheduler into the calendar event so the CRM record inherits it.

  • Event source: the Drift conversation and meeting API

    Send held meetings, and send the CRM opportunity separately as a higher-value downstream event.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Cancelled and no-show meetings should reverse.

Written guarantee

95%+ tracking accuracy

Measured against Meetings booked through Drift that were subsequently held, joined to the CRM opportunity.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Drift → Matomo questions, answered

Not by watching the chat frame. Listen for Drift's meeting-booked event on the host page and record a Matomo goal there, then send the held meeting later from your server.

Free · 30 min

Get Drift and Matomo joined properly

Free30 minutesNo obligation