Connecting Ghost memberships to Matomo
Ghost runs on your own domain with Stripe underneath, which makes it the rare creator platform where the whole chain is genuinely yours and attribution can actually work end to end. 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 Ghost paid subscription 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
Ghost paid subscriptions as Matomo ecommerce orders
Record each Ghost paid start as a Matomo ecommerce order sent server-side through the HTTP Tracking API, with the Stripe subscription ID as order ID and the actual first charge as revenue. Attach it by User ID set to the Ghost member UUID to join earlier reading. Log cancellations as separate events, since orders aren't undone.
In Matomo, a Ghost paid subscription start is best recorded as an ecommerce order, so it shows up in revenue reports next to the visits that produced it. Record the actual first charge, monthly or annual, as the revenue. The lifetime-value figure that ad platforms should optimize on belongs in those platforms; in your own analytics it overstates revenue that has not been collected.
Send the order server-side through the Matomo HTTP Tracking API when Ghost's member webhooks show the member becoming paid, with the Stripe subscription ID as the order ID so a resent webhook does not create a second order. Attach it to the visitor by User ID set to the Ghost member UUID, which your theme should already be setting for logged-in members. That matters for Ghost specifically, because many paid members upgrade from a free account in a later session, and User ID is what ties the order to the reading history from weeks earlier.
Matomo does not undo an ecommerce order when a Ghost member cancels, and Ghost keeps them paid until the period ends. Record cancellations as a separate event with the date, and report net paid members from Ghost rather than reading Matomo's order count as current subscribers.
Ghost → Matomo · what breaks
Why this join usually fails — Ghost → Matomo
- 01
The first-party visitor ID never reaches Ghost
Signup and checkout use Ghost's portal, which renders over your page, and Stripe Checkout may take the visitor off-domain at payment.
- 02
The gap between free signup and paid upgrade
Most Ghost publications convert a small single-digit percentage of free members to paid, months later. Optimizing on free signups finds people who like free things, and the paid number does not move.
- 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.
Ghost → Matomo · the fix
What working looks like — Ghost → Matomo
The first-party visitor ID on every subscription
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
Ghost memberships's own records are the reference, not either dashboard.
Ghost → Matomo · architecture
How Ghost and Matomo actually connect
- 1
Ghost memberships holds the truth
Ghost's free tier is a mailing list and its paid tier is revenue. The free-to-paid conversion rate is the number that decides whether acquisition is worth anything, and it is invisible if members are counted as one pool.
- 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 Ghost paid subscription.
- 4
The event source decides reliability
Send paid subscription starts at a defensible annual value, and free signups as a separate lower-value action.
- 5
Deduplication at the destination
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
Ghost → Matomo · normal or broken
Working vs. broken, side by side — Ghost → Matomo
Normal, not a fault
The first-party visitor ID present on the subscription
Visible on the record itself in Ghost memberships, not merely captured somewhere on the site.
Sent from the Ghost member and Stripe subscription record
Deduplicated correctly
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
Reconciles with the source
Matomo's count and Ghost memberships's records agree within a few percent over a closed window.
Actually broken
The first-party visitor ID missing on most records
Signup and checkout use Ghost's portal, which renders over your page, and Stripe Checkout may take the visitor off-domain at payment.
Sent from the browser
Most Ghost publications convert a small single-digit percentage of free members to paid, months later. Optimizing on free signups finds people who like free things, and the paid number does not move.
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
The dashboard shows a number and no one has compared it to Ghost memberships.
Ghost → Matomo · diagnose
Diagnostic order — Ghost → Matomo
- 01
Count subscriptions carrying the first-party visitor ID
- 02
Follow one real conversion end to end
- 03
Measure the free-to-paid rate and the lag
Both matter. If the median upgrade happens four months after signup, your attribution window is the constraint, not your campaigns.
- 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.
Ghost → Matomo · prove
How it gets proven — Ghost → Matomo
Against Ghost memberships's own records, not against either platform's dashboard.
Source of truth
Ghost members with an active Stripe subscription, by start date, separated from free members.
- The first-party visitor ID confirmed present on a live subscription.
- Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
- Paid subscription starts reconciled against imported conversions over a window long enough to include the upgrade lag.
Ghost → Matomo · free audit
What we check in the free audit
- Count subscriptions carrying the first-party visitor ID
- Follow one real conversion end to end
- Measure the free-to-paid rate and the lag
- Check tracker reachability and database lag before debugging any tag
- Read the match rate, not the success message
Checked against
Ghost members with an active Stripe subscription, by start date, separated from free members.
Free30 minutesNo obligation
Ghost → Matomo · when not to buy
When you don't need this — Ghost → Matomo
- If Matomo already reports conversions that reconcile against Ghost memberships's records within a few percent, this join is working and there is nothing to buy.
- Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the first-party visitor ID.
- If you have no paid tier, free signups are the honest metric and there is no revenue event to import.
- 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.
Ghost → Matomo · what we deliver
What gets built — Ghost → Matomo
Identifier capture into Ghost
Capture on your own domain, persist in first-party storage, and attach the identifier to the member record so the upgrade weeks later still resolves.
Event source: the Ghost member and Stripe subscription record
Send paid subscription starts at a defensible annual value, and free signups as a separate lower-value action.
Dispatch to Matomo
The Matomo HTTP Tracking API, posted server-side from your order system.
Reversals where they exist
Cancellations inside the first period reverse.
Written guarantee
95%+ tracking accuracy
Measured against Ghost members with an active Stripe subscription, by start date, separated from free members.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Ghost → Matomo questions, answered
Send an ecommerce order through the Matomo HTTP Tracking API when Ghost shows a member becoming paid, using the Stripe subscription ID as the order ID and the member UUID as User ID.
No. Record the actual first charge in Matomo. Lifetime value is an optimization input for ad platforms, not revenue you have collected.
Almost always because the first-party visitor ID never reached the Ghost paid subscription. Signup and checkout use Ghost's portal, which renders over your page, and Stripe Checkout may take the visitor off-domain at payment. 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 Ghost member and Stripe subscription record. Send paid subscription starts at a defensible annual value, and free signups as a separate lower-value action.
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 Ghost → Matomo
- Ghost → Google AdsConnecting Ghost memberships to Google Ads
- Ghost → MetaConnecting Ghost memberships to Meta Conversions API
- Ghost → GA4Connecting Ghost memberships to GA4
RELATED GUIDES
Where Ghost → Matomo fits in the rest of your tracking
- Duda → MatomoConnecting Duda to Matomo
- AEM → MatomoConnecting Adobe Experience Manager to Matomo
- Craft → MatomoConnecting Craft CMS to Matomo
- Ghost → GA4Connecting Ghost memberships to GA4
- Ghost → Adobe AnalyticsConnecting Ghost memberships to Adobe Analytics
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Webflow → MatomoConnecting Webflow to Matomo
- Sanity → MatomoConnecting Sanity to Matomo
Free · 30 min
Get Ghost and Matomo joined properly
Free30 minutesNo obligation
