Add a GDPR, ePrivacy and CCPA compliant cookie consent banner to your Ghost blog or publication. CookieChimp installs through Ghost’s built-in Code Injection — no theme edits, works on Ghost(Pro) and self-hosted Ghost alike.Documentation Index
Fetch the complete documentation index at: https://docs.cookiechimp.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Copy your CookieChimp snippet
abc123 with your website's unique CookieChimp ID.Add the snippet via Ghost Code Injection
- Sign in to your Ghost admin (e.g.
your-site.com/ghost). - Open Settings → Code Injection from the left sidebar.
- Paste the CookieChimp snippet into the Site Header field. This injects it into the
<head>of every page Ghost renders. - Click Save.
<head> section so it can block other scripts before they run and set cookies without consent. If other scripts are added before, they may set cookies and other storage items before consent is granted.Block scripts & cookies
Disable Ghost's built-in privacy features that conflict
Allow users to update their preferences
data-cc="show-preferencesModal":default.hbs (self-hosted) or by adding the HTML directly in the Site Footer field of Code Injection.Troubleshooting
- Banner doesn’t appear — make sure your Ghost domain is allowed in Account Settings → Additional Domains in your CookieChimp dashboard.
- Banner only shows on the homepage — re-check that the snippet is in Site Header (not just on a single page’s code injection). Site Header applies globally.
- Banner shows but scripts still fire — Ghost themes sometimes inline analytics directly in
default.hbs. Inline scripts must also be tagged withtype="text/plain"anddata-categoryto be blocked.
- Enable Debug mode from the CookieChimp dashboard and check the browser JS console for errors.
Ghost cookie banner FAQ
Does CookieChimp work with Ghost(Pro)?
Does CookieChimp work with Ghost(Pro)?
Will the banner appear on AMP and email versions of my posts?
Will the banner appear on AMP and email versions of my posts?
Does the banner block Ghost's member login cookie?
Does the banner block Ghost's member login cookie?
Does CookieChimp support Google Consent Mode v2?
Does CookieChimp support Google Consent Mode v2?
Will CookieChimp affect my site's performance?
Will CookieChimp affect my site's performance?
Can I customize the cookie banner to match my brand?
Can I customize the cookie banner to match my brand?
Is CookieChimp free?
Is CookieChimp free?