Connecting Postmark to Matomo
Postmark sends transactional email — receipts, confirmations, password resets — which means it is a record that a message about a conversion was sent, not a record of the conversion. 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 Postmark message 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
Postmark receipt links can steal Matomo campaign credit
Tag Postmark receipt links with a distinct campaign you can filter, or leave them untagged, so repeat purchases aren't credited to receipts. Never push Postmark open or click webhooks through Matomo's HTTP Tracking API, which creates fake server-IP visits. Send ecommerce orders from the order system with the site's visitor ID and the order ID.
This pair matters mostly because of the links inside your receipts. A track-your-order or reorder link in a Postmark email brings the customer back to the site, and if that link carries campaign parameters, Matomo records the email as the referrer of the visit. Depending on how goal attribution is configured, a repeat purchase weeks later can then be credited to a receipt rather than to the ad or search that won the customer. Tag transactional links with a distinct, clearly named campaign you can filter out, or leave them untagged.
Do not push Postmark open and click webhooks into Matomo through the HTTP Tracking API. Each server-side hit without the browser's visitor ID creates a fresh visit from your server's IP, inflating visitor counts and dragging down every conversion rate. Mail clients also prefetch images, so a share of opens are machine-generated in the first place.
The ecommerce order in Matomo should come from the order system, carrying the visitor ID captured on the site and the order ID, so a refreshed confirmation page or a resent receipt cannot record it twice. Postmark's message ID has no part in that record; keep it for a deliverability report that lives outside Matomo goals.
Postmark → Matomo · what breaks
Why this join usually fails — Postmark → Matomo
- 01
The first-party visitor ID never reaches Postmark
There is no browser session and no click. A transactional send is a server event about an order that already happened.
- 02
Email opens treated as engagement worth optimizing
Transactional open rates are high because people want their receipt. Optimizing anything toward them measures how much people like being told their order shipped.
- 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.
Postmark → Matomo · the fix
What working looks like — Postmark → Matomo
The first-party visitor ID on every message
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
Postmark → Matomo · architecture
How Postmark and Matomo actually connect
- 1
Postmark holds the truth
The receipt and the order are different objects. Attributing revenue from an email send means your reported revenue depends on your email deliverability, which is not a relationship anyone wants.
- 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 Postmark message.
- 4
The event source decides reliability
Send orders. Delivery and open data belong in an operational report, not a conversion.
- 5
Deduplication at the destination
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
Postmark → Matomo · normal or broken
Working vs. broken, side by side — Postmark → Matomo
Normal, not a fault
The first-party visitor ID present on the message
Sent from your order system
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
There is no browser session and no click. A transactional send is a server event about an order that already happened.
Sent from the browser
Transactional open rates are high because people want their receipt. Optimizing anything toward them measures how much people like being told their order shipped.
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
Postmark → Matomo · diagnose
Diagnostic order — Postmark → Matomo
- 01
Count messages carrying the first-party visitor ID
- 02
Follow one real conversion end to end
- 03
Confirm no transactional email event reaches an ad platform
The right number is zero, and a surprising number of accounts have receipts wired as conversions.
- 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.
Postmark → Matomo · prove
How it gets proven — Postmark → Matomo
Source of truth
Your order system. Postmark confirms the receipt went out; it does not know what was bought.
- The first-party visitor ID confirmed present on a live message.
- Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
- Orders reconciled against imported conversions, with transactional email events absent.
Postmark → Matomo · free audit
What we check in the free audit
- Count messages carrying the first-party visitor ID
- Follow one real conversion end to end
- Confirm no transactional email event reaches an ad platform
- Check tracker reachability and database lag before debugging any tag
- Read the match rate, not the success message
Checked against
Your order system. Postmark confirms the receipt went out; it does not know what was bought.
Free30 minutesNo obligation
Postmark → Matomo · when not to buy
When you don't need this — Postmark → Matomo
- Measure identifier coverage yourself first — pull your last hundred messages and count how many carry the first-party visitor ID.
- Transactional email needs monitoring, not attribution. Watch bounce and delivery rates, and keep it out of the conversion pipeline.
- 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.
Postmark → Matomo · what we deliver
What gets built — Postmark → Matomo
Identifier capture into Postmark
Attribute at the order, and use Postmark's delivery data only to confirm the customer was actually told.
Event source: your order system
Send orders. Delivery and open data belong in an operational report, not a conversion.
Dispatch to Matomo
The Matomo HTTP Tracking API, posted server-side from your order system.
Reversals where they exist
Refunds reverse at the order, not at the email.
Written guarantee
95%+ tracking accuracy
Measured against Your order system. Postmark confirms the receipt went out; it does not know what was bought.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Postmark → Matomo questions, answered
Only with a dedicated campaign name you exclude from acquisition reports; otherwise receipt clicks can take credit for repeat purchases. Many teams leave transactional links untagged for that reason.
You can, but each server-sent hit without the browser's visitor ID creates a new visit and distorts visitor counts. Keep open data in Postmark's own reporting.
Almost always because the first-party visitor ID never reached the Postmark message. There is no browser session and no click. A transactional send is a server event about an order that already happened. 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.
Your order system. Send orders. Delivery and open data belong in an operational report, not a conversion.
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 Postmark → Matomo
- Postmark → Google AdsConnecting Postmark to Google Ads
- Postmark → MetaConnecting Postmark to Meta Conversions API
- Postmark → GA4Connecting Postmark to GA4
RELATED GUIDES
Where Postmark → Matomo fits in the rest of your tracking
- SendGrid → MatomoConnecting SendGrid to Matomo
- Mailgun → MatomoConnecting Mailgun to Matomo
- Resend → MatomoConnecting Resend to Matomo
- Postmark → GA4Connecting Postmark to GA4
- Postmark → AmplitudeConnecting Postmark to Amplitude
- SaaSConversion tracking for SaaS, from signup through to the payment that matters
Free · 30 min
Get Postmark and Matomo joined properly
Free30 minutesNo obligation
