Skip to main content
Gorgias → MatomoIntegration guide

Connecting Gorgias to Matomo

Gorgias is ecommerce customer support, and the commercially interesting thing it holds is the conversation that led to a sale rather than the sale itself. 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 Gorgias ticket 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

Gorgias and Matomo: chat engagement, and the privacy gap

Fire Matomo events when the Gorgias chat opens and on the first message, then segment visits with chat against ecommerce conversion and order value. Keep chat as an event, not a revenue goal; orders come from Matomo ecommerce tracking with the order ID. Don't push tickets through the HTTP Tracking API, and cover the chat widget in your consent banner.

Stores that self-host Matomo usually do it to keep visitor data in-house, and then load the Gorgias chat widget, a third-party script that processes visitor data under its own terms. Self-hosting Matomo does not make the chat private. If privacy is the reason you chose Matomo, your consent banner and privacy notice must cover the chat widget separately, and you should check what it stores in the browser.

Measuring chat inside Matomo is straightforward. Fire a Matomo event when the chat opens and another when the shopper sends a first message, if the widget exposes a hook for it. Then build a segment of visits containing that event and compare ecommerce conversion and order value against visits without it. Keep chat as an event, not a goal with revenue attached, so it never appears as a second source of sales next to the ecommerce order.

The order itself is the store's, recorded through the Matomo ecommerce tracking or posted server-side with the order ID, which Matomo deduplicates on. Do not push Gorgias tickets through the HTTP Tracking API: email and social tickets have no Matomo visitor, so each one becomes a fake visit with no pages, which inflates visit counts and drags down every conversion rate.

Gorgias → Matomo · what breaks

Why this join usually fails — Gorgias → Matomo

  1. 01

    The first-party visitor ID never reaches Gorgias

    Most Gorgias tickets are support rather than pre-sales. Treating ticket volume or even ticket-attributed revenue as a marketing conversion confuses service load with acquisition.

  2. 02

    Support volume mistaken for demand

    The overwhelming majority of Gorgias tickets are existing customers with problems. Sending ticket events as conversions teaches an ad platform to find people who need help.

  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.

Gorgias → Matomo · the fix

What working looks like — Gorgias → Matomo

  • The first-party visitor ID on every ticket

  • 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

Gorgias → Matomo · architecture

How Gorgias and Matomo actually connect

  1. 1

    Gorgias holds the truth

    Gorgias can attribute revenue to support conversations, which is genuinely useful internally and is calculated on its own rules. It is not a substitute for the store's order record.

  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 Gorgias ticket.

  4. 4

    The event source decides reliability

    Send the order from the store. Use Gorgias to understand which conversations preceded orders, not as the conversion source itself.

  5. 5

    Deduplication at the destination

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

Gorgias → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the ticket

  • Sent from your store's order webhook, joined to the ticket where relevant

  • 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

    Most Gorgias tickets are support rather than pre-sales. Treating ticket volume or even ticket-attributed revenue as a marketing conversion confuses service load with acquisition.

  • Sent from the browser

    The overwhelming majority of Gorgias tickets are existing customers with problems. Sending ticket events as conversions teaches an ad platform to find people who need help.

  • 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

Gorgias → Matomo · diagnose

Diagnostic order — Gorgias → Matomo

  1. 01

    Count tickets carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Check what proportion of tickets are pre-sales rather than support

    It is usually a small minority, and only that minority is relevant to acquisition.

  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.

Gorgias → Matomo · prove

How it gets proven — Gorgias → Matomo

Source of truth

Your store's orders — Gorgias records the conversation and the store records the money.

  • The first-party visitor ID confirmed present on a live ticket.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Pre-sales conversations separated from support volume before any conversion claim is made.

Gorgias → Matomo · free audit

What we check in the free audit

  • Count tickets carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Check what proportion of tickets are pre-sales rather than support
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Your store's orders — Gorgias records the conversation and the store records the money.

Get my free conversion tracking audit

Free30 minutesNo obligation

Gorgias → Matomo · when not to buy

When you don't need this — Gorgias → Matomo

  • Measure identifier coverage yourself first — pull your last hundred tickets and count how many carry the first-party visitor ID.
  • If your Gorgias is purely post-purchase support, it is not a conversion source and should not be treated as one.
  • 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.

Gorgias → Matomo · what we deliver

What gets built — Gorgias → Matomo

  • Identifier capture into Gorgias

    Where pre-sales chat matters, carry the identifier into the ticket's custom fields so a conversation that precedes a first order can be connected to the click that started it.

  • Event source: your store's order webhook, joined to the ticket where relevant

    Send the order from the store. Use Gorgias to understand which conversations preceded orders, not as the conversion source itself.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Refunds come from the store.

Written guarantee

95%+ tracking accuracy

Measured against Your store's orders — Gorgias records the conversation and the store records the money.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Gorgias → Matomo questions, answered

Fire a Matomo event when the chat opens or the first message is sent, if the widget exposes a hook, and segment orders by visits containing that event. Keep it as an event, not a revenue goal.

Free · 30 min

Get Gorgias and Matomo joined properly

Free30 minutesNo obligation