Skip to main content
Buy Me a Coffee → MatomoIntegration guide

Connecting Buy Me a Coffee to Matomo

Buy Me a Coffee is a hosted tip jar, which means the transaction happens entirely on their domain and the amounts are small, irregular and impulse-driven. 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 Buy Me a Coffee support 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

Matomo and Buy Me a Coffee: count clicks, import supports apart

Matomo's visitor ID never reaches buymeacoffee.com, so use outlink tracking on links to your support page to see which pages and campaigns send people to pay, adding a click event for the floating widget. Supports can enter via the HTTP Tracking API as ecommerce orders keyed on transaction ID, but arrive unattributed, so keep them under their own site ID.

Matomo suits creators who self-host analytics for privacy reasons, and Buy Me a Coffee is often the only money on such a site. The Matomo visitor ID lives on your domain; the support happens on buymeacoffee.com, where your tracker never loads. Matomo's outlink tracking records clicks on ordinary links to the support page, which gives you the pages and campaigns that send people to pay, and that part costs nothing to set up.

If your support button is Buy Me a Coffee's floating widget rather than a plain link, check how it opens on your site; if the payment flow appears in an overlay served from Buy Me a Coffee's domain, Matomo records neither an outlink nor the payment. Add a click event on the widget button yourself if you want that step counted.

Supports themselves can go into Matomo through the HTTP Tracking API as ecommerce orders, with the Buy Me a Coffee transaction ID as the order ID so a replayed webhook does not double the revenue. They arrive without the visitor ID of the person who clicked, as separate visits, so they will never attribute to a campaign. Put them under their own site ID or label them clearly, and judge campaigns on the outlink clicks rather than these orders.

Buy Me a Coffee → Matomo · what breaks

Why this join usually fails — Buy Me a Coffee → Matomo

  1. 01

    The first-party visitor ID never reaches Buy Me a Coffee

    The payment page is fully hosted on the platform's domain, and most supports arrive from a link in a video description, a newsletter or a bio — surfaces where no identifier exists.

  2. 02

    Amounts too small and irregular to optimize against

    Tips of a few pounds arriving unpredictably do not give a bidding algorithm anything to learn from, and paying for clicks to a tip jar rarely returns the click cost.

  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.

Buy Me a Coffee → Matomo · the fix

What working looks like — Buy Me a Coffee → Matomo

  • The first-party visitor ID on every support

  • 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

Buy Me a Coffee → Matomo · architecture

How Buy Me a Coffee and Matomo actually connect

  1. 1

    Buy Me a Coffee holds the truth

    A one-off tip and a monthly membership have completely different value and completely different acquisition economics. The platform reports them together and they should not be.

  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 Buy Me a Coffee support.

  4. 4

    The event source decides reliability

    Send recurring memberships at their monthly value and one-off supports separately, if at all.

  5. 5

    Deduplication at the destination

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

Buy Me a Coffee → Matomo · normal or broken

Working vs. broken, side by side — Buy Me a Coffee → Matomo

Normal, not a fault

  • The first-party visitor ID present on the support

  • Sent from the Buy Me a Coffee transaction record

  • 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 payment page is fully hosted on the platform's domain, and most supports arrive from a link in a video description, a newsletter or a bio — surfaces where no identifier exists.

  • Sent from the browser

    Tips of a few pounds arriving unpredictably do not give a bidding algorithm anything to learn from, and paying for clicks to a tip jar rarely returns the click cost.

  • 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

Buy Me a Coffee → Matomo · diagnose

Diagnostic order — Buy Me a Coffee → Matomo

  1. 01

    Count supports carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare average support value against your cost per click

    For most creators the arithmetic settles the question immediately, and the honest answer is not to advertise this at all.

  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.

Buy Me a Coffee → Matomo · prove

How it gets proven — Buy Me a Coffee → Matomo

Source of truth

Buy Me a Coffee transactions by date, split into one-off supports and recurring memberships.

  • The first-party visitor ID confirmed present on a live support.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Recurring memberships reconciled against imported conversions, with one-off supports counted separately.

Buy Me a Coffee → Matomo · free audit

What we check in the free audit

  • Count supports carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Compare average support value against your cost per click
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Buy Me a Coffee transactions by date, split into one-off supports and recurring memberships.

Get my free conversion tracking audit

Free30 minutesNo obligation

Buy Me a Coffee → Matomo · when not to buy

When you don't need this — Buy Me a Coffee → Matomo

  • Measure identifier coverage yourself first — pull your last hundred supports and count how many carry the first-party visitor ID.
  • This is the common case: paid acquisition into a tip jar almost never pays back. Use distinct links, measure by channel, and spend the budget elsewhere.
  • 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.

Buy Me a Coffee → Matomo · what we deliver

What gets built — Buy Me a Coffee → Matomo

  • Identifier capture into Buy Me a Coffee

    Use distinct links per channel rather than attempting cookie-based attribution. It is cruder and it is the only thing that will actually work here.

  • Event source: the Buy Me a Coffee transaction record

    Send recurring memberships at their monthly value and one-off supports separately, if at all.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Refunds and cancelled memberships reverse.

Written guarantee

95%+ tracking accuracy

Measured against Buy Me a Coffee transactions by date, split into one-off supports and recurring memberships.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Buy Me a Coffee → Matomo questions, answered

Not by itself, because the tracker cannot run on buymeacoffee.com. It records the outlink click to your page, and you can import completed supports through the Tracking API as orders without a visitor attached.

Free · 30 min

Get Buy Me a Coffee and Matomo joined properly

Free30 minutesNo obligation