On this page
Symptoms
- You select Reject all on your banner.
- Your browser's developer tools still list optional cookies, such as
_gaor_fbp. - You may also see requests to Google Analytics in the Network tab.
Quick checks
Test in a fresh private window
Open a new private window and go to your website. Select Reject all before you do anything else. Then check the cookies again.
Check Auto-blocking is on
Open the Overview tab of Cookie Banner. Check that Auto-block cookies has a tick.
Check where the install code sits
View your page source. The CookieScan install code should be the first script in the
<head>.
If the fresh private window shows no optional cookies, CookieScan is blocking new ones. The cookies you saw before were set earlier.
Cause: the cookies were set before the visitor rejected
Reject all does not delete cookies already in the browser. They stay until they expire or the visitor clears them. With Auto-block cookies on, it only stops scripts on your pages setting new optional cookies.
This happens when a visitor accepted cookies on an earlier visit and later rejects them. It also happens when a cookie was set before the banner loaded.
Test with a fresh private window, as in the quick checks. That shows what a new visitor gets.
Cause: Auto-blocking is off
Without Auto-block cookies, CookieScan records the visitor's choice but does not stop cookies itself. Only tags that read the choice, such as Google tags with Google Consent Mode, hold back.
Turn on Auto-block cookies on the Settings tab and select Save & Publish. If you installed with Google Tag Manager, keep it off and set each tag to wait for consent instead. See How Auto-blocking works and Tags fire before visitors consent.
Cause: other scripts load before CookieScan
Auto-blocking can only stop what loads after it. A tracking script placed above the CookieScan install code runs first and sets its cookies.
Move the CookieScan install code so it is the first script in your page's <head>. See Install with a script tag.
Cause: the cookie is not in your cookie list
Auto-blocking holds back scripts from the services in your cookie list. A script from a service the scan never found is not blocked.
Scan your website again, or add the missing cookie in the Cookie Manager. See Review and categorise cookies.
Cause: the cookie is marked Exempt
An exempt Statistics cookie may be set before the visitor makes a choice. Reject all stops it being set again, but does not delete the copy already in the browser.
If you do not want the cookie set before a choice, untick Exempt on it. See Mark a Statistics cookie as Exempt.
Cause: Google Analytics sends cookieless pings
With Google Consent Mode, Google Analytics can still send requests after Reject all. These requests carry no cookies. In the request, the gcs value shows G100, which means analytics and advertising consent were denied.
If you want no requests at all, set your Google Analytics tag in Tag Manager to need analytics_storage consent. See Google Consent Mode isn't working and Google's guide About Consent Mode on Google for Developers.
Cause: your server sets the cookie
Some cookies come from your website's server with the page, not from JavaScript. Auto-blocking cannot stop those. Ask your developer to set them only after the visitor allows the matching category. The JavaScript API lets your scripts read the visitor's choice.
Still stuck?
Email support with these details so we can help faster:
- your CookieScan ID, from Cookie Banner, then Overview next to CookieScan ID:
- the address of a page where you see the problem
- the names of the cookies you still see after Reject all