On this page
What this issue is
An under-attack or JS challenge page is a screen shown before your real page loads. The visitor's browser has to run a small piece of JavaScript, or solve a check, before the server lets them through. It is meant to stop floods of bot traffic (DDoS attacks).
It becomes a problem when it applies to all visitors, all the time. Common sources are Cloudflare's Under Attack Mode, a WAF rule set to "JS Challenge" or "Managed Challenge" on every request, and host-level or plugin-level bot protection with strict settings.
Why it costs you leads or sales
Every visitor waits several seconds on a blank interstitial before seeing your offer. Some leave. Others never get through at all: people with JavaScript disabled, older browsers, privacy tools, some in-app browsers and some corporate networks.
Paid traffic suffers most. You pay for the click, but the visitor may bounce before your page, and your tracking tags, loads. Ad and analytics platforms then see fewer sessions and conversions, which can distort your reporting and bidding. Form posts, webhooks and payment callbacks can also be challenged and fail silently.
- Ad clickVisitor arrives from a paid or organic link
- Challenge page"Checking your browser..." shown to everyone
- Landing pageNever seen by those who leave or fail the check
- Tracking tagsDo not fire without the page
- Form or checkoutNo lead or sale
The challenge sits in front of everything, so every later step is at risk.
Example: illustrative numbers only. A blanket challenge loses people who abandon or fail the check.
How to check if your site has it
Open the site in a private window
Use a clean browser with no cookies. Look for "Checking your browser before accessing", "Just a moment..." or "Verify you are human" before the page loads.
Try another device and network
Test on mobile data, not only your office Wi-Fi. A challenge that only appears for some networks points to a rule rather than a global mode.
Check the response headers
Run the command below. A 403 or 503 status with a
cf-mitigated: challengeheader means Cloudflare is challenging the request.Review your security dashboard
In Cloudflare, check Security level (Under Attack) and Security > Events for challenge actions. Check your host's firewall or bot settings too.
curl -sI https://www.example.com/ | head -n 20
# Signs of a challenge: HTTP 403 or 503, 'cf-mitigated: challenge', 'server: cloudflare'How to fix it
Confirm the attack is over
Check your traffic and server load. If you were attacked recently, keep some protection but make it targeted (step 3).
Turn off Under Attack ModeCloudflare
In Cloudflare, go to Security > Settings and set Security Level to Medium or Low. The old name for this option is Security Level, which may show as "I'm Under Attack".
Replace it with targeted rules
Under Security > WAF > Custom rules, challenge only what is risky: a login path, a high-rate IP range, or a country that sends only abuse. Avoid a rule that matches all requests.
Add rate limiting instead of a global challenge
Limit requests per IP on sensitive endpoints such as /wp-login.php or form posts, rather than every page.
Let trusted services through
Allow payment gateway webhooks, your CRM and your monitoring tools by IP or path with a skip or allow rule, so they are not challenged. Do not try to get around a service's own terms.
Check security plugins
In Wordfence, Sucuri, or similar plugins, look for firewall or country-challenge settings that apply to all traffic and loosen them.
Check your host
Managed hosts often have a bot protection or Cloudflare toggle in their dashboard. Turn off any "under attack" option.
Check any proxy in front of the store
Shopify does not add an Under Attack page itself. If your domain's DNS points through Cloudflare, adjust the challenge in your Cloudflare account.
Check your DNS proxy
If the domain runs through Cloudflare, lower the Security Level there. Webflow settings do not control this page.
Check for a proxy
If you added Cloudflare in front of Wix, review it there. Otherwise contact Wix support if you see a challenge you did not set up.
Check for a proxy
Challenge pages come from a service in front of the site, such as Cloudflare. Review the settings in that service.
Check custom domain proxying
If your custom domain is proxied through Cloudflare, set DNS records for the funnel domain and review the security level there.
Review the WAF and the web server
Check your CDN, load balancer, WAF (such as ModSecurity or a cloud firewall) and any middleware that issues JS challenges, and scope the rules to specific paths or rates.
Before
- Every visitor sees "Checking your browser"
- Ad clicks wait or bounce
- Webhooks and form posts may be blocked
- Tracking tags load late or not at all
After
- Normal visitors go straight to the page
- Only risky paths or traffic are challenged
- Trusted services are allowed through
- Tags and forms behave normally
How to confirm it's fixed
- A private window loads your landing page with no interstitial
- Mobile data and a second network load it normally
- curl returns 200 and no cf-mitigated header
- A test form submission reaches your inbox or CRM
- Your ad landing URL with UTM parameters loads directly
- Analytics real-time view shows the visit
- Security > Events shows challenges only on the paths you chose
How to prevent it happening again
Day 1
Traffic spike or attack. Someone turns on Under Attack Mode.
Day 2
Attack stops, but the setting stays on.
Week 2
Leads and ad conversions drift down. Nobody connects it to the challenge.
Week 3
Someone opens the site in a clean browser and sees the interstitial.
- Write down who turned on Under Attack Mode, when, and when it must be reviewed
- Set a reminder to turn it off after an incident
- Prefer path-specific rules and rate limits over a global mode
- Allow payment, CRM and monitoring traffic explicitly
- Test the landing page from a clean browser after any security change
- Monitor the key journeys on a schedule
How FunnelGuard handles this
FunnelGuard detects this today. Its robot visitor runs your real journeys on a schedule, and when a challenge page blocks it, the check is reported as bot protection. You get one alert (email, Slack, Teams, WhatsApp, webhook or PagerDuty) after the failure is re-checked from a second region, with a screenshot and a likely cause.
Questions people ask
Why does my website show "Checking your browser before accessing" to everyone?
This is usually a JavaScript challenge from Cloudflare or a similar firewall. If it appears for all visitors, Under Attack Mode or a rule that matches every request is probably on. Lower the Security Level and scope challenge rules to risky traffic.
How do I turn off Cloudflare Under Attack Mode?
In the Cloudflare dashboard, open Security > Settings and change Security Level from "I'm Under Attack" to Medium or Low. Also check Security > WAF custom rules for rules that issue a JS or Managed Challenge on all requests.
Does a JS challenge page hurt my ad conversions?
Yes, it can. Visitors wait or leave before your page loads, and tracking tags may never fire, so platforms record fewer sessions and conversions. You still pay for the click.
Is the Under Attack page bad for SEO?
It can be if it is shown for long periods. Search crawlers may get challenged or slowed, and users bounce. Turn it off when the attack ends and use targeted rules instead.
Why do form submissions fail when bot protection is on?
A challenge or WAF rule can block the form's POST request or the webhook that passes the lead to your CRM. The visitor sees the form submit, but nothing arrives. Check your security events for blocked requests on the form path.
How can I tell if only bots or all visitors see the challenge?
Open the site in a private window on mobile data and on a second network, and check the response with curl. If real browsers see it too, it is global. Cloudflare's Security > Events shows which rule issued the challenge.
Can monitoring tools get past a challenge page?
They should not try to bypass it. FunnelGuard, for example, reports the block as bot protection instead of getting around it. Allow the monitor's marked traffic with a rule you control if you want it to test the real journey.
Related issues
- PRF-073Hosting rate-limits or WAF blocks normal visitors from some countriesFix guide
- PRF-074Site in maintenance mode left onFix guide
- PRF-061Origin server returns 5xx intermittentlyFix guide
- PRF-067Redirect chain adds 1+ s before first byteFix guide
- PRF-063Slow form submit response (over 5 s)Fix guide
- PRF-050TTFB over 800 msFix guide