Limit Pages Scanned for Cookies
It is possible to limit which pages on the website should be scanned for cookies. This can be useful, for example, on an online shop where the same cookies are set on all product pages. Adding a scan limitation would reduce the number of scanned URLs and allow you to use a smaller plan.
Setup a scanner limitation
From the Website overview, go to the tab Settings and then Scanner limits. Click on "Add URL Pattern" and enter a RegEx expression to specify which pages should have limited cookie scanning. If the RegEx-pattern starts with ^/, it will be evaluated against a relative URL. Otherwise the full absolute URL will be used when evaluating the pattern.
Then set the Crawl pages-value, this specifies how many matching pages to scan for cookies. If you set this to 10, the first 10 matching pages found will be scanned, and the rest will be ignored.
To limit all pages under, for example, “shop/”, enter the expression:
shop\/
If you need to limit pages that contain a query in the URL, you can use the expression:
\?
We recommend that you test the RegEx to ensure it works as intended. You can validate it on regex101.
Related information
Support
If you have questions about limiting the cookie scan, feel free to contact us at info@cookietractor.com