Connecting Authorize.net to Matomo
Authorize.net is one of the oldest payment gateways still in wide use, which means it sits underneath a great many legacy carts that were built before anyone thought about attribution. 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 Authorize.net transaction 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
Authorize.net orders in Matomo on the right day
Store the Matomo visitor ID in an Authorize.net user-defined field at charge, then post settled orders to the HTTP Tracking API with that visitor ID, transaction ID as order ID and settled revenue. Send the original timestamp with an authenticated token and invalidate archived reports. Matomo cannot subtract refunds, so record them separately.
Matomo joins an order to a visit through its own visitor ID, so the value to carry is the first-party Matomo visitor cookie, not an ad click ID. Read it when the cart creates the charge and store it in a user-defined field on the Authorize.net transaction. When the transaction settles, post an ecommerce order to the Matomo HTTP Tracking API with that visitor ID, the transaction ID as the order ID, and the settled amount as revenue.
Timing is the Matomo-specific problem. Settlement lands a day after the visit, and the Tracking API records a hit at request time unless you send the original timestamp. Backdated hits older than about a day need an authenticated token, and if Matomo has already archived reports for that day, the new order will not show until you invalidate those reports. Skip this and revenue shows up on the settlement date in a session that has no traffic source.
Matomo has no first-class refund for an ecommerce order, so a void or refund in Authorize.net does not subtract anything there. Either record refunds as a separate event and net them in reporting, or accept that Matomo revenue is gross. Self-hosting fits a gateway business that wants payment data off third-party servers, but the order still carries no card data.
Authorize.net → Matomo · what breaks
Why this join usually fails — Authorize.net → Matomo
- 01
The first-party visitor ID never reaches Authorize.net
The gateway sees a payment and nothing about marketing. Whether an identifier exists depends entirely on whether the cart passed it into a custom field when creating the transaction, and legacy carts generally did not.
- 02
A legacy gateway under a legacy cart
Authorize.net is usually the oldest thing in the stack. The custom fields exist and almost nobody populates them, so the transaction arrives with no trace of the campaign that produced it.
- 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.
- 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.
Authorize.net → Matomo · the fix
What working looks like — Authorize.net → Matomo
The first-party visitor ID on every transaction
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
Authorize.net → Matomo · architecture
How Authorize.net and Matomo actually connect
- 1
Authorize.net holds the truth
Authorisation reserves funds and settlement moves them. Authorize.net batches settlement, usually daily, so a transaction authorised late in the day settles the next — which shifts revenue across a date boundary if you report the wrong state.
- 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
The identifier is the bridge
The first-party visitor ID, captured at the visit and carried into the Authorize.net transaction.
- 4
The event source decides reliability
Fire on settled, not authorised. Batching means the two carry different dates, and reporting on authorisation puts revenue in the wrong day.
- 5
Deduplication at the destination
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
Authorize.net → Matomo · normal or broken
Working vs. broken, side by side — Authorize.net → Matomo
Normal, not a fault
The first-party visitor ID present on the transaction
Sent from the Authorize.net webhook on settlement
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 gateway sees a payment and nothing about marketing. Whether an identifier exists depends entirely on whether the cart passed it into a custom field when creating the transaction, and legacy carts generally did not.
Sent from the browser
Authorize.net is usually the oldest thing in the stack. The custom fields exist and almost nobody populates them, so the transaction arrives with no trace of the campaign that produced it.
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
Authorize.net → Matomo · diagnose
Diagnostic order — Authorize.net → Matomo
- 01
Count transactions carrying the first-party visitor ID
- 02
Follow one real conversion end to end
- 03
Open a settled transaction and read its user-defined fields
Empty means the cart never passed anything, which is the usual finding and cannot be recovered retroactively.
- 04
Check tracker reachability and database lag before debugging any tag
On self-hosted analytics the answer is infrastructure more often than instrumentation.
- 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.
Authorize.net → Matomo · prove
How it gets proven — Authorize.net → Matomo
Source of truth
Authorize.net's settled transactions for the same window, not authorisations.
- The first-party visitor ID confirmed present on a live transaction.
- Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
- A transaction confirmed to carry the identifier through authorisation into settlement.
Authorize.net → Matomo · free audit
What we check in the free audit
- Count transactions carrying the first-party visitor ID
- Follow one real conversion end to end
- Open a settled transaction and read its user-defined fields
- Check tracker reachability and database lag before debugging any tag
- Read the match rate, not the success message
Checked against
Authorize.net's settled transactions for the same window, not authorisations.
Free30 minutesNo obligation
Authorize.net → Matomo · when not to buy
When you don't need this — Authorize.net → Matomo
- Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the first-party visitor ID.
- If the cart on top of Authorize.net already reports orders accurately, work at the order layer — it is closer to the customer and easier to change.
- 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.
Authorize.net → Matomo · what we deliver
What gets built — Authorize.net → Matomo
Identifier capture into Authorize.net
Pass the click identifier into the transaction's user-defined fields when your application creates the charge. Authorize.net preserves them through settlement and into the transaction detail record.
Event source: the Authorize.net webhook on settlement
Fire on settled, not authorised. Batching means the two carry different dates, and reporting on authorisation puts revenue in the wrong day.
Dispatch to Matomo
The Matomo HTTP Tracking API, posted server-side from your order system.
Reversals where they exist
Voids, refunds and chargebacks are all recorded against the original transaction and carry its user-defined fields.
Written guarantee
95%+ tracking accuracy
Measured against Authorize.net's settled transactions for the same window, not authorisations.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Authorize.net → Matomo questions, answered
Yes, through the Matomo HTTP Tracking API as an ecommerce order, using the visitor ID you stored on the transaction and the transaction ID as the order ID.
The hit was sent at settlement time without the original timestamp. Send the visit or authorization time, authenticate the request, and invalidate archived reports for that day.
Almost always because the first-party visitor ID never reached the Authorize.net transaction. The gateway sees a payment and nothing about marketing. Whether an identifier exists depends entirely on whether the cart passed it into a custom field when creating the transaction, and legacy carts generally did not. Measure coverage before debugging the dispatch.
Matomo sets its own first-party cookie and, when self-hosted on your domain, is not a third-party request at all. That means ad blockers and browser tracking-prevention affect it far less than a hosted analytics tag — one of the few genuine measurement advantages available under current privacy conditions.
The Authorize.net webhook on settlement. Fire on settled, not authorised. Batching means the two carry different dates, and reporting on authorisation puts revenue in the wrong day.
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.
More on Authorize.net → Matomo
- Authorize.net → Google AdsConnecting Authorize.net to Google Ads
- Authorize.net → MetaConnecting Authorize.net to Meta Conversions API
- Authorize.net → GA4Connecting Authorize.net to GA4
RELATED GUIDES
Where Authorize.net → Matomo fits in the rest of your tracking
- Square → MatomoConnecting Square to Matomo
- Worldpay → MatomoConnecting Worldpay to Matomo
- Maxio → MatomoConnecting Maxio to Matomo
- Authorize.net → AmplitudeConnecting Authorize.net to Amplitude
- Authorize.net → GA4Connecting Authorize.net to GA4
- Financial servicesConversion tracking for financial services, built for the compliance review
- Acima → MatomoConnecting Acima to Matomo
- Mollie → MatomoConnecting Mollie to Matomo
Free · 30 min
Get Authorize.net and Matomo joined properly
Free30 minutesNo obligation
