HTML Guide

Marech for Any HTML Site

Running a custom-built or static HTML site? Marech works anywhere you can add a script tag.

Step-by-step instructions

1
Copy your Marech snippet
After signing up, open your Marech dashboard and click "Get Snippet Code". Copy the one-line script tag.
2
Open your HTML files
Open the HTML files for your site in your code editor of choice.
3
Paste inside the <head> tag
Paste the Marech snippet anywhere inside the <head> element, before the closing </head> tag.
4
Repeat for every page (or use a shared layout)
If your site uses a shared header template or layout file, paste it there once — all pages will be covered automatically.
5
Upload and deploy
Save your files and redeploy your site. Marech starts blocking AI scrapers immediately.
Not a developer?

Let AI add it for you

Copy a prompt below and paste it into ChatGPT, Claude, or any AI assistant. It will walk you through adding Marech to your exact setup.

Basic HTML file
I have a static HTML website and I want to add this script tag to every page:

<script src="https://cdn.marech.tech/marech.js" data-key="YOUR_KEY"></script>

My main page is called index.html. Please show me exactly where to paste it in my HTML file, and show me what the <head> section should look like before and after.
Multiple pages / shared layout
I have a multi-page HTML site and I want to add this script to every page:

<script src="https://cdn.marech.tech/marech.js" data-key="YOUR_KEY"></script>

Walk me through the most efficient way to do this. If I have a shared header file or template (like _header.html or layout.html), show me where to paste it there. If I don't have one, show me how to add it to each page quickly.
Static site generator (Jekyll, Hugo, 11ty…)
I use a static site generator (e.g. Jekyll / Hugo / Eleventy) and I want to inject this script into the <head> of every generated page:

<script src="https://cdn.marech.tech/marech.js" data-key="YOUR_KEY"></script>

Show me exactly which layout or partial file to edit and where to paste it so it appears on all pages after I build the site.
GitHub Pages / Netlify / Vercel static deploy
I host a static HTML site on GitHub Pages / Netlify / Vercel and want to add this script tag to every page:

<script src="https://cdn.marech.tech/marech.js" data-key="YOUR_KEY"></script>

Walk me through: (1) which file to edit, (2) where exactly to paste the snippet, (3) how to commit and redeploy so the change goes live.
Why it matters for HTML sites

HTML sites are high-value AI targets

Training data harvesting

AI companies scrape raw HTML pages to build training datasets. Your prose, your research, your creative work — fed into models without permission or compensation.

Prompt injection via scraped content

Attackers embed hidden instructions in page text (e.g. "Ignore previous instructions…") that get lifted by AI scrapers and injected into AI pipelines downstream. Marech stops the scraper before it reads anything.

Content duplication by AI agents

Autonomous AI agents crawl HTML sites to summarize, rewrite, and republish your content — stripping traffic and SEO value. Marech fingerprints and blocks known agent user-agents in real time.

Competitor intelligence bots

Businesses deploy AI crawlers to harvest pricing, copy, and product data from competitor HTML sites. Marech detects non-human request patterns and returns a 403 before any data is read.

30-second video tutorial coming soon

Ready to protect your HTML site?

Free 7-day trial. No credit card required.