Skip to main content
Gumroad → MatomoIntegration guide

Connecting Gumroad to Matomo

Gumroad sells digital products for creators with almost no infrastructure, which is its appeal and the reason it gives you very little to work with. 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 Gumroad sale 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

Gumroad sales in Matomo: send the order with the visitor ID

Append the Matomo visitor ID to the Gumroad link, read it from the sale ping, and send an ecommerce order through the HTTP Tracking API with the Gumroad sale ID as order ID and revenue converted from cents after a test sale. Self-hosted, the chain stays on your infrastructure. Cross-device or cookieless visits land as direct; report refunds separately.

Matomo's first-party visitor ID lives on your domain; Gumroad's checkout does not. The tag on your site sees the click to the product link and nothing after it. To attribute the sale, append the Matomo visitor ID to the Gumroad link as a URL parameter, read it back from the sale ping, and send an ecommerce order through the HTTP Tracking API with that visitor ID and the Gumroad sale ID as the order ID.

This is one of the cleaner pairs for a privacy-minded creator. Self-hosted Matomo plus your own ping handler keeps the whole chain on infrastructure you control, with no ad-tech vendor involved. Send revenue as a decimal in your store currency; the pings we have seen state price in cents, so convert only after confirming on a test sale. The order ID stops a re-delivered ping from counting twice.

The visitor ID is the weak point. If the buyer opened the Gumroad link on another device, or Matomo was running cookieless so no persistent ID existed, the order arrives on a new visitor and attributes to direct. Measure that share by comparing Gumroad's sale count with Matomo orders that landed on a visit carrying a campaign or referrer. Check whether your Matomo version can reverse an order; most setups report Gumroad refunds separately.

Gumroad → Matomo · what breaks

Why this join usually fails — Gumroad → Matomo

  1. 01

    The first-party visitor ID never reaches Gumroad

    Checkout happens on Gumroad's own domain or in an overlay, and the platform offers limited custom-field capability. In practice the identifier travels through URL parameters that Gumroad preserves, and confirming which parameters survive is the first thing to test.

  2. 02

    A deliberately minimal platform

    Gumroad's simplicity is the product. That means fewer hooks, fewer custom fields and more of the build depending on what survives in a URL — which has to be tested rather than assumed.

  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.

Gumroad → Matomo · the fix

What working looks like — Gumroad → Matomo

  • The first-party visitor ID on every sale

  • 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

Gumroad → Matomo · architecture

How Gumroad and Matomo actually connect

  1. 1

    Gumroad holds the truth

    Gumroad is the merchant and holds the transaction. What it does not hold is much customisation, so the integration has to work within a deliberately simple product.

  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 Gumroad sale.

  4. 4

    The event source decides reliability

    Send from your server when Gumroad pings a completed sale. Do not depend on a redirect-based thank-you page, which the buyer can skip entirely.

  5. 5

    Deduplication at the destination

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

Gumroad → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the sale

  • Sent from the Gumroad sale ping webhook

  • 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

    Checkout happens on Gumroad's own domain or in an overlay, and the platform offers limited custom-field capability. In practice the identifier travels through URL parameters that Gumroad preserves, and confirming which parameters survive is the first thing to test.

  • Sent from the browser

    Gumroad's simplicity is the product. That means fewer hooks, fewer custom fields and more of the build depending on what survives in a URL — which has to be tested rather than assumed.

  • 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

Gumroad → Matomo · diagnose

Diagnostic order — Gumroad → Matomo

  1. 01

    Count sales carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Make a test purchase and read the sale record

    Check which URL parameters actually persisted. This is quicker than reading documentation and more reliable.

  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.

Gumroad → Matomo · prove

How it gets proven — Gumroad → Matomo

Source of truth

Gumroad's sales records for the same window, net of refunds.

  • The first-party visitor ID confirmed present on a live sale.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • A test purchase with the identifier confirmed present on the resulting Gumroad sale record.

Gumroad → Matomo · free audit

What we check in the free audit

  • Count sales carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Make a test purchase and read the sale record
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Gumroad's sales records for the same window, net of refunds.

Get my free conversion tracking audit

Free30 minutesNo obligation

Gumroad → Matomo · when not to buy

When you don't need this — Gumroad → Matomo

  • Measure identifier coverage yourself first — pull your last hundred sales and count how many carry the first-party visitor ID.
  • If you are selling a handful of digital products a month, Gumroad's own analytics is genuinely enough and this work will not pay for itself.
  • 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.

Gumroad → Matomo · what we deliver

What gets built — Gumroad → Matomo

  • Identifier capture into Gumroad

    Append the click identifier to the product URL and read it back from the sale record or the ping webhook, after verifying on a real purchase which parameters Gumroad actually retains.

  • Event source: the Gumroad sale ping webhook

    Send from your server when Gumroad pings a completed sale. Do not depend on a redirect-based thank-you page, which the buyer can skip entirely.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Gumroad records refunds and they should reduce the reported figure, particularly given how straightforward its refund process is for buyers.

Written guarantee

95%+ tracking accuracy

Measured against Gumroad's sales records for the same window, net of refunds.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Gumroad → Matomo questions, answered

Not from the tag, since checkout happens on Gumroad. Pass the visitor ID on the product URL and send the order from Gumroad's sale ping through the HTTP Tracking API.

Free · 30 min

Get Gumroad and Matomo joined properly

Free30 minutesNo obligation