Marech for Ghost Blogs
Injected once into your theme, the snippet monitors every page and post — and a Cloudflare-fronted Ghost site can block scrapers at the edge too.
How Marech protects a Ghost site
Ghost's Code injection drops the snippet into the <head> of every page and post, so monitoring is a single paste — no theme editing. Since long-form writing is exactly what AI crawlers want, blocking matters here: if your Ghost site is fronted by Cloudflare, a Worker can stop scrapers before they reach your content.
Monitoring — the snippet
One line of JavaScript in your <head>. It reports scraper traffic to your dashboard and overlays JS-running bots. Works on Ghost in ~2 minutes.
Blocking — the edge check
A server-side check (a Cloudflare Worker at the edge) returns a 403 to scrapers before your content is served — the only thing that stops non-JS scrapers.
Before you begin
You'll need a couple of things ready. The monitoring step needs only the first two.
- A Marech account — start a free trial (no credit card).
- Access to edit your Ghost site's theme, settings, or code.
Install the monitoring snippet
One line of JavaScript that reports scraper traffic to your dashboard. Works on every Ghost plan and takes about ~2 minutes.
Turn on real blocking (optional)
Stops non-JS scrapers before your content is served, using a Cloudflare Worker at the edge. Needs a Marech API key and a block policy.
Verify it's blocking. With the Worker live, a fake GPTBot request returns a 403 while a real reader loads your post normally.
curl -A "GPTBot/1.0" -I https://yourblog.com/