Cloudflare
- Log in to Cloudflare and select your domain.
- Go to Security > WAF > Custom Rules.
- Create or edit a rule named "Allow Generative Metrics Scanner".
- Set expression: any(http.request.headers["x-gm-scan-token"][*] eq "YOUR_TOKEN_HERE")
- Set action to Skip.
- Under components to skip, select "All remaining custom rules".
- Place this rule above any block or challenge rule for the domain, then save and deploy.