What is the issue you’re encountering We have implemented rules to display JavaScript and block certain URLs. However, the JavaScript popup is triggered multiple times during the user journey, which severely disrupts navigation. We run a personalized products website where customers create their own designs and add them to the cart. Unfortunately, if the JavaScript displays again during this process, it refreshes the page and erases all customization data. Questions: What are the best practices when facing a surge in attacks? How can we ensure the JavaScript is displayed only once, upon the user’s first visit to the site?
Make sure the user stays within the same domain. Also the default challenge interval is 30 minutes so you may want to increase that if your users stay around for longer…
Alternatively don’t show the challenge once users are logged in, have a specific cookie, or for specific pages where a challenge would be a problem.
Thank you for your help.
Actually, it is 30 minutes, and we can extend it to 45 minutes, but the problem will still remain.
The customer may stay a long time, but sometimes they leave to view something on another domain and then come back to finish their customization.
When the customer returns, the data is refreshed because a new session challenge is triggered.
This issue is not linked to a specific page, as it is a SaaS solution for customizing products.
When they click the “Customize” button, the URL does not change.