Let SiteGauge through your bot protection

If you monitor your own site with SiteGauge and it sits behind bot protection, SiteGauge can send a secret key with its checks of that site. You add one rule at your firewall that lets requests carrying the key through, and your pages are checked as ordinary, clean requests.

Part of the Enterprise plan. New to the SiteGauge bot? Start with how it behaves.

How it works

1. Add your site in SiteGauge

In Settings, Crawler allowlist, add a site you own. SiteGauge makes a secret key for it. Only owners and admins of your main workspace can see the key.

2. Add one firewall rule

At your firewall, add a rule that says: when a request carries the header X-SiteGauge-Key with this key, skip bot protection. Steps for each provider are below.

3. Test it

Press Test next to the site. SiteGauge requests your home page once with the key and once without, and tells you in plain English whether your rule is working.

Where the key goes, and where it never goes

  • SiteGauge sends X-SiteGauge-Key only to the sites you add (and their subdomains, if you switch that on), and only over HTTPS.
  • It goes on requests from SiteGauge's own servers: page checks, sitemap and robots.txt reads, link discovery, uptime checks and checks in SiteGauge's own browser.
  • It is never sent through third-party rendering services or proxy networks, never to other sites your pages load (analytics, fonts, CDNs on other domains), and never to a new host if a redirect leaves your site.
  • It is not sent with favicon requests or with the preview shown when someone creates a monitor.
  • Every request that carries the key names SiteGauge in its user-agent. Page checks use the user-agent on our bot page; browser checks use a standard Chrome user-agent followed by SiteGauge/1.0 (+https://sitegauge.com/bot).
  • Adding, rotating or removing a site reaches our checkers within about a minute.

The key does not change your robots.txt and does not give SiteGauge access to anything behind a login. Anyone who knows the key could use it to skip the same protection, so treat it like a password: paste it only into your firewall settings, keep it out of public repositories and tickets, and rotate it if you think it has been shared.

Set up the rule for your provider

Replace YOUR_KEY with the key shown for your site in SiteGauge. Put the rule before any rule that challenges or blocks. We checked these steps against each vendor's own documentation in November 2026; where we could not, the step says so.

Cloudflare

A custom rule with the Skip action. About five minutes, with access to the site's security rules.

  1. In the Cloudflare dashboard, choose your site, then open Security rules.
  2. Select Create rule, then Custom rules.
  3. Name it "Allow SiteGauge".
  4. Switch to the expression editor and enter the expression below.
  5. Under Then take action, choose Skip.
  6. In the skip options, tick All remaining custom rules, All Super Bot Fight Mode rules (Pro, Business and Enterprise plans) and Browser Integrity Check. Rate limiting rules are optional. Leave managed rules unticked so SiteGauge requests still get your attack protection.
  7. Leave Log matching requests on, so you can see the rule working in Security Events.
  8. Deploy, then move the rule to the top of the list. Rules run in order, so it must come before any rule that challenges or blocks.
any(http.request.headers["x-sitegauge-key"][*] == "YOUR_KEY")

To limit the rule to one hostname, add and http.host eq "www.example.com" to the end of the expression.

What this skips

  • Your other custom rules (including any Managed Challenge rules), Super Bot Fight Mode and Browser Integrity Check, plus rate limiting if you ticked it.
  • If you use Bot Management (Enterprise), your bot score rules are custom rules, so skipping the remaining custom rules skips the actions they would take. Check Security Events after a test to confirm.
  • Bot Fight Mode on the Free plan cannot be skipped. Cloudflare states that custom rules cannot skip it.

On the Free plan

Cloudflare's free Bot Fight Mode ignores Skip rules, so the key cannot get past it. You can turn Bot Fight Mode off (Security Settings, filter by Bot traffic, then switch Bot Fight Mode off), which applies to all visitors, or move to Pro, where Super Bot Fight Mode honours Skip rules.

Custom rules per site: 5 on Free, 20 on Pro, 100 on Business and 1,000 on Enterprise.

We could not confirm that a Skip rule gets past Under Attack Mode. If you use it, check Cloudflare's current docs.

AWS WAF

A scope-down statement on Bot Control (recommended), or an Allow rule at the top of the web ACL.

Option 1, recommended: keep Bot Control away from requests with the key

This follows the pattern in AWS's own documentation for bots you control.

  1. Open AWS WAF and select your web ACL (AWS now also calls these protection packs).
  2. Edit the Bot Control rule group in the rule list.
  3. Add a scope-down statement: NOT, then String match. Inspect: Single header. Header field name: x-sitegauge-key. Match type: Exactly matches string. String to match: YOUR_KEY.
  4. Save. Bot Control now inspects only requests that do not carry the key, and your other rules still apply.

If you edit the rule in the console's JSON editor or call the AWS WAF API directly, the string to match must be base64 encoded. The AWS CLI and SDKs encode it for you.

Option 2, simpler: an Allow rule at the top

  1. In the same web ACL, add your own rule named AllowSiteGauge.
  2. Statement: String match, Single header x-sitegauge-key, Exactly matches string, YOUR_KEY.
  3. Action: Allow.
  4. Move it above the Bot Control rule group. AWS evaluates the lowest priority number first and Allow ends evaluation, so every rule below it is skipped for these requests, not only Bot Control. Use option 1 if you want your other protections to keep running.

Console menu names change over time. If a label here does not match your console, check AWS's current docs.

Vercel

A custom firewall rule with the Bypass action. Available on every Vercel plan.

  1. Open your project, then Firewall, then Configure.
  2. Select Add New, then Rule, and name it "Allow SiteGauge".
  3. Add the condition Request Header, key x-sitegauge-key, operator Equals, value YOUR_KEY.
  4. Set the action to Bypass.
  5. Select Save Rule, then Review Changes, then Publish. No redeploy is needed.
  6. If you have other rules, move this one to the top.

It skips your remaining custom rules and the bot protection ruleset. It does not skip Vercel's platform-wide DDoS protection. Bypass rules cannot be set in vercel.json, only in the dashboard or the API.

We could not confirm whether Attack Challenge Mode honours a bypass rule. If you use it, check Vercel's current docs.

Azure Front Door

A custom rule with the Allow action. Works on Front Door Standard and Premium.

  1. In the Azure portal, open your Front Door WAF policy, then Custom rules, then Add custom rule.
  2. Rule type: Match rule. Priority: 1 (a lower number runs first).
  3. Condition: match type Request header, header name X-SiteGauge-Key, operator Equal, value YOUR_KEY.
  4. Action: Allow.
  5. Save the rule and the policy.

Azure runs custom rules before managed rule sets, so matching requests skip the Default Rule Set. Azure's HTTP DDoS rule set runs before custom rules and is not bypassed.

On Premium, the Bot Manager rule set is a managed rule set, so by the same ordering it should be skipped too, but Azure does not say so in one place. Run a test to confirm, and check Azure's current docs if a portal label differs. Application Gateway WAF is a different product and is not covered here.

Fastly Next-Gen WAF

A site rule of type Request with the Allow action.

  1. In the Next-Gen WAF control panel, choose your site, then Rules, then Site Rules, then Add site rule.
  2. Type: Request.
  3. Condition: field Request header, name X-SiteGauge-Key, operator Equals, value YOUR_KEY.
  4. Action: Allow.
  5. Select Create site rule. You can try it first in the Simulator.

Fastly states that an Allow rule overrides any blocking rules that matched. Header names are not case sensitive, but the key value is.

We could not confirm how Allow interacts with a Browser challenge rule or Fastly's separate bot products. If you use either, run a test before relying on this and check Fastly's current docs.

Google Cloud Armor

An allow rule with a priority ahead of your deny and challenge rules.

  1. Open your Cloud Armor security policy and add a rule.
  2. In the advanced expression editor, enter the expression below.
  3. Action: Allow.
  4. Priority: a number lower than your deny, rate limiting and reCAPTCHA rules. Cloud Armor evaluates the lowest number first.
has(request.headers['x-sitegauge-key']) && request.headers['x-sitegauge-key'] == 'YOUR_KEY'

Header names in these expressions are always lower case.

The console steps above are a summary we could not check screen by screen. Check Google's current docs for the exact screens, and run a test before relying on this if you use Cloud Armor bot management with reCAPTCHA.

Akamai

A Bot Manager custom-defined bot, in a custom bot category whose action is Allow.

Akamai publishes these steps behind a customer login, so we could not check them against Akamai's own docs. Confirm each label in Control Center or with your Akamai team.

  1. In your Bot Manager security configuration, create a custom bot category, for example "SiteGauge".
  2. Add a custom-defined bot to that category with the condition: request header named X-SiteGauge-Key that matches YOUR_KEY.
  3. Set the action for that category to Allow in the security policy that protects your site.
  4. Activate the security configuration (staging first, if you use it).

Akamai's API reference does not list an allow action for App and API Protector custom rules, so use the Bot Manager custom bot route.

Imperva

Ask Imperva to add an allow condition on the header in Advanced Bot Protection.

Imperva's options depend on which product you use, so we recommend asking Imperva support or your account manager: "Please allow requests that carry the HTTP header X-SiteGauge-Key with this value to bypass Advanced Bot Protection."

Imperva staff have said in their community forum that Advanced Bot Protection can allow on a header and its value, and that custom headers are masked from Advanced Bot Protection until they are unmasked. Cloud WAF security rules do not have a plain Allow action, so a header rule there will not skip bot checks.

We could not check the exact screens or rule syntax in Imperva's docs, so check your vendor's current docs.

Other

Sucuri, nginx, Apache with ModSecurity, and anything else.

Any other firewall

Look for a rule that matches a request header and its value and then lets the request through, or skips bot checks. Use the header name X-SiteGauge-Key and your key as the value, and place the rule before any rule that challenges or blocks.

Sucuri

We could not find a header-based allow option in Sucuri's documentation, only IP address allowlisting. SiteGauge does not publish fixed IP addresses, so please ask Sucuri support whether a header rule is possible.

nginx

If your own server rate limits SiteGauge, map the key to an empty value: nginx does not count requests whose limit key is empty.

map $http_x_sitegauge_key $sitegauge_limit_key {
    default    $binary_remote_addr;
    "YOUR_KEY"  "";
}
limit_req_zone $sitegauge_limit_key zone=perip:10m rate=10r/s;

Apache with ModSecurity 2.x

SecRule REQUEST_HEADERS:X-SiteGauge-Key "@streq YOUR_KEY" "id:9000001,phase:1,allow,nolog,ctl:ruleEngine=On"

Place it before the rules it should override and give it a unique rule id.

We only checked ModSecurity 2.x. For ModSecurity v3 or the OWASP Core Rule Set, check your vendor's current docs.

Check that it works

In SiteGauge, press Test next to the site. We request your home page twice from our servers, once with the key and once without, and show both results. "With your key: page loaded normally. Without it: blocked by Cloudflare." means your rule is working. The test sends plain requests rather than a full browser, so if both requests get through, keep the rule in place anyway.

From a terminal, the same check looks like this:

curl -s -o /dev/null -w "%{http_code}\n" -H "X-SiteGauge-Key: YOUR_KEY" https://www.example.com/

With the header you should see 200. Run it again without the header and you should see your usual bot protection response, often 403.

Rotating the key

Your old key keeps working until you remove it
  1. In SiteGauge, choose Rotate key for the site. The new key is shown straight away, and SiteGauge stops sending the old key and starts sending the new one within about a minute.
  2. Put the new key in your firewall rule. Most providers let one rule match either of two values, or let you add a second rule.
  3. Remove the old key from your rule, then press Test. Rotating only changes what SiteGauge sends: the old key still gets through your firewall until you take it out of the rule, so if it may have leaked, remove it now.

Until the new key is in your rule, SiteGauge checks the site the way it checks any other site, so monitoring carries on.

Questions

Is the key safe?

It travels only over HTTPS and only to the sites you add, but it works like a password. Anyone holding it can skip the protection you attach it to, so keep it private and rotate it if in doubt. Keys are stored encrypted, and every time someone shows a key it is recorded in your account activity.

Does this let SiteGauge ignore robots.txt?

No. The rule only tells your firewall to let our checks through. Your robots.txt is unchanged, and whole-domain discovery still drops every page it disallows.

Will this make my site less secure?

You choose what the rule skips. We suggest skipping bot protection only and leaving attack signature rules, such as managed OWASP rules, switched on. You can also limit the rule to one hostname or path.

What happens if the rule stops working?

SiteGauge notices when a request with the key is blocked, marks the site as Failing with the reason, and checks it the way it checks any other site, so monitoring carries on.

Why does it not work on Cloudflare Free?

Cloudflare's free Bot Fight Mode cannot be skipped by any custom rule. See the Cloudflare steps below for your options.

Can I allow SiteGauge by IP address instead?

SiteGauge does not publish fixed IP addresses, and some checks are routed through residential networks, so an IP rule would not reliably match. The header works without fixed addresses.

The crawler allowlist is part of the Enterprise plan. Already on Enterprise? Find it in Settings, under Crawler allowlist.

See EnterpriseOpen the crawler allowlist