CMS · Install guide
Cookie consent for Ghost
Updated
Ghost's Code Injection adds the Kiescy script to every page of your publication in under a minute.
- Setup time
- About 5 minutes
- Coding
- None: copy and paste
- Laws covered
- GDPR, UK GDPR, CCPA, DPDP
- Google Consent Mode v2
- Built in, basic or advanced
Set up cookie consent on Ghost in 3 steps
- Create a free accountAdd your website. Kiescy scans it and finds the trackers that need consent.
- Paste one script into GhostYour banner appears and starts holding back trackers until visitors choose.
- Check it worksOpen your site in a private window and run the free check to confirm nothing loads early.
Why Ghost sites need cookie consent
Ghost itself is privacy-friendly, but newsletters collect emails and many publications add Google Analytics, Plausible, ad networks or embedded media. Members' data and any tracking need a clear notice, and EU readers need consent for non-essential cookies.
Your options on Ghost
| Approach | Good for | Watch out for |
|---|---|---|
| Ghost alone | Minimal publications | Ghost's native analytics are cookieless, but anything you add isn't covered |
| Theme-level banner code | Developers | You maintain the logic and records yourself |
| Kiescy via Code injection | Publications with analytics or ads | Paid-members data still needs your privacy policy to describe it |
Add your privacy policy
Create a page called Privacy, add an HTML card, and paste the embed. Then add the page to your secondary navigation.
<div data-kiescy-doc="privacy"></div>
<script src="https://script.kiescy.com/embed/policy/YOUR_SITE_KEY.js" async></script>Check that it works
Open your site in a private window: the banner should appear for a first-time visitor. Then run the free privacy check, which opens your site as a new EU visitor and lists anything that still loads before consent.
Kiescy's monitoring repeats that check on a schedule and emails you if a new script starts tracking before consent.
What your Ghost visitors see
Kiescy detects where each visitor is and shows the version their law requires, so you don't have to choose between the strictest banner for everyone and no banner at all.
Trackers Ghost sites usually load
These are the tools that most often need consent on Ghost sites, and how Kiescy treats them. Run a cookie scan to see exactly what yours loads.
| Tool | Category | What happens |
|---|---|---|
| Google Analytics / Google Ads | Analytics / advertising | Held back once your scan finds them |
| Ad networks (Carbon, Google AdSense) | Advertising | Need consent in the EU |
| Embedded YouTube, X posts, Spotify | Social | Embeds set third-party cookies |
| Stripe for paid members | Essential | Payments |
Google Consent Mode v2 on Ghost
If you add a Google tag in Code injection, place it below the Kiescy script so Consent Mode v2 defaults are set first.
New to Consent Mode? Read basic vs advanced Consent Mode v2.
Troubleshooting
The banner covers the Portal signup button
Pick a top or center banner position in Kiescy, or a corner opposite Ghost's Portal trigger.
Compliance checklist for Ghost
- A consent banner that blocks non-essential trackers until the visitor agrees (opt-in for the EU, UK and India).
- A "Do Not Sell or Share" option for California visitors, and Global Privacy Control honored.
- A privacy policy that names the tools above, linked from every page.
- A cookie policy listing the cookies your scan finds.
- A way for people to request, correct or delete their data.
- Records of each consent choice, kept as proof.
- Privacy policy describing newsletter and member data, linked in the footer and on the signup form.
- Unsubscribe and data deletion handled for members on request.
Guides for Ghost site owners
Questions
Does it work on Ghost(Pro)?
Yes. Code injection is available on Ghost(Pro) and self-hosted Ghost.
Does a Ghost newsletter need a privacy policy?
Yes. Collecting email addresses is processing personal data, so most laws require you to explain how you use and store them.
Official Ghost documentation
Menus move. If a step above doesn't match what you see, Ghost's own docs show the current way to add code.
Get compliant this afternoon, not this quarter.
Set up your policies, banner and request form in one place. Free while Kiescy is in early access.