I see that most of the famous CMP like Cookiebot are not showing when a website is scanned using Google PageSpeed or Lighthouse.

Is this behaviour allowed by Google? It's not cloaking?

In CookieBot documentation for example, they say that:

Note: In order for you to test the performance of your site, we don’t display the consent banner on all Google tools. Otherwise, during a test, the banner would show on every page of your site, (as the tools cannot provide consent) rather than just once - as in a real-life scenario. This would not give an accurate representation of performance. To allow for testing of your pages with our consent banner, we have enabled a query parameter that you attach to the end of your site URL that will automatically display the banner for any of your pages. The query parameter is called g_disable_bot_detection and you assign that a value of 1.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.