Connecting Ghost to GA4
Ghost is publishing with memberships attached, so the commercial event is a paid subscription rather than a purchase. GA4 is where the business goes to understand what happened, which makes an unattributed conversion there expensive in decisions rather than in ad spend. The join between them succeeds or fails on one thing: whether the GA4 client_id reaches the Ghost member before the conversion happens, because GA4 can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Ghost paid members in GA4, past the magic link and Stripe hop
Ghost's magic link and Stripe hop split members across browsers. Store the client_id and session_id when Portal opens, then on a paid status from the member.edited webhook or Stripe, send a Measurement Protocol purchase with the subscription value and the Stripe subscription ID as transaction_id. Send free signups as sign_up, and add Stripe to unwanted referrals.
Ghost signup splits a visitor across browsers in a way GA4 cannot follow. The member enters an email in Portal, then confirms by clicking a magic link in their inbox, which often opens a different browser with a new client_id. Paid upgrades go through Stripe Checkout and return as a referral. Add Stripe's checkout domain to GA4's unwanted referrals, and accept that the browser alone will split many members into two users.
For the paid event, read the client_id and session_id when the visitor first opens Portal and keep them against the member: a label set through the Admin API is one option, but check what survives on a real paid signup. When the member.edited webhook or the Stripe subscription event shows a paid status, send a Measurement Protocol purchase with that stored client_id, the subscription value and a transaction_id from the Stripe subscription.
Free signups go to GA4 as sign_up, from one side only, and never as purchase. Monthly renewals are a separate question: sending each Stripe renewal as a purchase is fine for revenue reporting but will not carry acquisition source after the original session has long expired, so tag them distinctly and read them as retention.
Ghost → GA4 · what breaks
Why this join usually fails — Ghost → GA4
- 01
The GA4 client_id never reaches Ghost
Signup and checkout are Ghost-hosted with limited customisation, and free members vastly outnumber paid ones. An identifier captured on a post has to survive into the member record, which Ghost only partially supports.
- 02
Free members outnumbering paid by an order of magnitude
Ghost's newsletter signup is frictionless by design. Sending free signups as conversions teaches an ad platform to find people who subscribe to free newsletters.
- 03
Everything lands under (direct)/(none)
The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.
- 04
Nothing reconciles afterwards
GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.
Ghost → GA4 · the fix
What working looks like — Ghost → GA4
The GA4 client_id on every member
Conversions arriving in GA4
Conversions appear in GA4 attributed to the original session's source and medium, so acquisition reporting reflects what actually drove revenue.
Reconciled against the source
Ghost → GA4 · architecture
How Ghost and GA4 actually connect
- 1
Ghost holds the truth
Ghost's payments run through a connected Stripe account, so Stripe is authoritative for money and Ghost is authoritative for membership state. They should agree and reconciling them is worth doing once.
- 2
GA4 needs a click to match
GA4 needs the client_id to attach a server event to the user and session that produced the click. Without it there is no attribution to inherit and the event is orphaned.
- 3
The identifier is the bridge
The GA4 client_id, captured at the visit and carried into the Ghost member.
- 4
The event source decides reliability
Send paid subscription starts at expected lifetime value. Free member signups are leads and belong in a separate event entirely.
- 5
Deduplication at the destination
GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.
Ghost → GA4 · normal or broken
Working vs. broken, side by side — Ghost → GA4
Normal, not a fault
The GA4 client_id present on the member
Sent from the Ghost member webhook, or the connected Stripe subscription event
Deduplicated correctly
GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.
Reconciles with the source
Actually broken
The GA4 client_id missing on most records
Signup and checkout are Ghost-hosted with limited customisation, and free members vastly outnumber paid ones. An identifier captured on a post has to survive into the member record, which Ghost only partially supports.
Sent from the browser
Ghost's newsletter signup is frictionless by design. Sending free signups as conversions teaches an ad platform to find people who subscribe to free newsletters.
Counted twice, or not at all
The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.
Nobody has reconciled it
Ghost → GA4 · diagnose
Diagnostic order — Ghost → GA4
- 01
Count members carrying the GA4 client_id
- 02
Follow one real conversion end to end
- 03
Check whether free and paid signups share a conversion action
If they do, the free tier is setting your bids and paid acquisition is invisible.
- 04
Check whether server events carry a session and a source
In GA4 Realtime or DebugView, find the event and look at its session and traffic source. A brand-new user with no source on every server event is the missing-client_id signature.
- 05
Read the match rate, not the success message
GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.
Ghost → GA4 · prove
How it gets proven — Ghost → GA4
Source of truth
Ghost's member records with paid subscription status, cross-checked against the Stripe account behind them.
- The GA4 client_id confirmed present on a live member.
- Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
- A paid subscription confirmed to carry lifetime value with free signups excluded.
Ghost → GA4 · free audit
What we check in the free audit
- Count members carrying the GA4 client_id
- Follow one real conversion end to end
- Check whether free and paid signups share a conversion action
- Check whether server events carry a session and a source
- Read the match rate, not the success message
Checked against
Ghost's member records with paid subscription status, cross-checked against the Stripe account behind them.
Free30 minutesNo obligation
Ghost → GA4 · when not to buy
When you don't need this — Ghost → GA4
- Measure identifier coverage yourself first — pull your last hundred members and count how many carry the GA4 client_id.
- If your Ghost site is a free newsletter monetised by sponsorship, there is no subscription conversion to measure here.
- GA4 is reporting, not bidding. If your problem is ad platform optimization, fix the ad platform destination first — GA4 will not change what any campaign does.
Ghost → GA4 · what we deliver
What gets built — Ghost → GA4
Identifier capture into Ghost
Carry the identifier through the signup URL into member labels or via the connected Stripe checkout's metadata, and verify on a real paid signup which survives.
Event source: the Ghost member webhook, or the connected Stripe subscription event
Send paid subscription starts at expected lifetime value. Free member signups are leads and belong in a separate event entirely.
Dispatch to GA4
Measurement Protocol events with the client_id, session_id and the correct measurement ID and API secret, sent server-side.
Reversals where they exist
Subscription cancellations reverse the lifetime value claimed.
Written guarantee
95%+ tracking accuracy
Measured against Ghost's member records with paid subscription status, cross-checked against the Stripe account behind them.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Ghost → GA4 questions, answered
The member often confirms through a magic link in a different browser, or returns from Stripe Checkout as a referral. Store the original client_id at Portal open and send the paid event through Measurement Protocol with it.
Track them as sign_up but keep them out of your purchase conversion, since free members usually far outnumber paid ones.
Almost always because the GA4 client_id never reached the Ghost member. Signup and checkout are Ghost-hosted with limited customisation, and free members vastly outnumber paid ones. An identifier captured on a post has to survive into the member record, which Ghost only partially supports. Measure coverage before debugging the dispatch.
The client_id, from the _ga cookie. Measurement Protocol events without it are rejected or create a brand-new user with no session and no source, which is how server events end up filed under (direct)/(none) and make paid channels look worse than they are. Send session_id alongside it so the event joins the existing session, and include engagement_time_msec or the event may not appear as expected in reports.
The Ghost member webhook, or the connected Stripe subscription event. Send paid subscription starts at expected lifetime value. Free member signups are leads and belong in a separate event entirely.
GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.
More on Ghost → GA4
- Ghost → GA4Connecting Ghost memberships to GA4
- Stripe → GA4Connecting Stripe to GA4
- PayPal → GA4Connecting PayPal to GA4
RELATED GUIDES
Where Ghost → GA4 fits in the rest of your tracking
- Concrete CMS → GA4Connecting Concrete CMS to GA4
- Drupal Commerce → GA4Connecting Drupal Commerce to GA4
- Webflow → GA4Connecting Webflow to GA4
- Ghost → Adobe AnalyticsConnecting Ghost memberships to Adobe Analytics
- Ghost → PostHogConnecting Ghost memberships to PostHog
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Duda → GA4Connecting Duda to GA4
- Sanity → GA4Connecting Sanity to GA4
Free · 30 min
Get Ghost and GA4 joined properly
Free30 minutesNo obligation
