Duda guide · Hosted site builder

Marech for Duda Sites

Paste one snippet into Duda's site-wide header code and see exactly which AI scrapers are harvesting your content.

PlatformHosted site builderSetup~2 minutesBlockingMonitor only

How Marech protects a Duda site

Duda's site-wide header HTML injects the monitoring snippet into every page at once, so setup is a single paste — ideal if you manage client sites at scale. Duda is a fully-hosted platform that owns the request path, so monitoring works everywhere, while non-JS scrapers can be observed rather than blocked.

Mode 1

Monitoring — the snippet

One line of JavaScript in your <head>. It reports scraper traffic to your dashboard and overlays JS-running bots. Works on Duda in ~2 minutes.

Mode 2

Blocking — the edge check

Requires a checkpoint in front of your server. Dudaowns the whole request path, so this mode isn't available here — monitoring only.

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 Duda site's theme, settings, or code.
1

Install the monitoring snippet

One line of JavaScript that reports scraper traffic to your dashboard. Works on every Duda plan and takes about ~2 minutes.

DudaSite Settings → Head HTML (site-wide)
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 Duda site editor
Log in and open the site you want to protect in the Duda editor.
3
Go to Settings → Head HTML
Open the site's Settings and find the Head HTML (site-wide code) field. Depending on your Duda plan this may live under 'Site Settings → Head HTML' or the developer/HTML section.
4
Paste your snippet into Head HTML
Paste the Marech snippet into the site-wide Head HTML box so it loads inside <head> on every page.
5
Republish your site
Save and republish. Monitoring is now active across the whole site — traffic will appear in your dashboard.
Verify monitoring is live
Site-wide Head HTML applies on the published site. Open any page in a browser and confirm your visit shows up in the dashboard feed. If it doesn't, make sure you republished after pasting.
Monitoring vs. blocking — the honest version
The snippet above reports traffic and overlays JS-running bots — but non-JS scrapers (curl, python-requests, GPTBot…) download your HTML directly and never run it, so it can't block those. Duda hosts everything — server, domain, and TLS — so there's no way to insert an edge proxy or worker in front of it. On Duda, Marech monitors traffic and overlays JS-running bots, but non-JS scrapers can't be blocked. See how the two modes differ in the docs.

Blocking on Duda

Duda hosts everything — server, domain, and TLS — so there's no way to insert an edge proxy or worker in front of it. On Duda, Marech monitors traffic and overlays JS-running bots, but non-JS scrapers can't be blocked.

Monitoring only — and why
Dudaowns the entire request path — server, domain, and TLS — so there's no way to insert an edge proxy or worker that runs beforeyour page is served. Marech still monitors traffic and overlays JS-running bots here, but non-JS scrapers can't be blocked. If real blocking matters, host your site somewhere you control the edge (a custom domain via Cloudflare, or a self-hosted setup) — see the platform guides.

Troubleshooting & FAQ

I manage many client sites on Duda — do I set this up per site?
Yes, the snippet goes into each site's Head HTML, and each site gets its own Marech account/snippet so the dashboard data stays separated per client. Because it's a single paste per site, it's quick to roll out across a portfolio.
Can I block scrapers on Duda?
Not at the edge — Duda controls the full request path. You can add robots.txt directives that polite AI crawlers honor, but enforced blocking needs a platform where you control the edge. Use Marech's monitoring to quantify the problem first.
Does the snippet slow down my site?
No. The script is tiny and loads asynchronously, so it never blocks your page from rendering. Server-side blocking adds a single fast check in front of your origin and fails open, so it can't slow down or take down your site.
Will it block real visitors or hurt SEO?
No. Marech targets automated scrapers, not people, and search engines you care about are allowed by default — you decide exactly what gets blocked with policies. See how detection works.

Next steps

Ready to protect your Duda site?

Free 7-day trial. No credit card required.