Skip to main content

Cookie banner on your website

With the cookie banner, your website asks visitors for permission before cookies for statistics, marketing or embedded videos are placed.

Switching on the cookie banner

Go to Settings > Websites, choose your website and open the Integrations tab. With one website, choose Properties under Settings and then the Integrations tab. Under Privacy & cookies, switch on Show cookie banner and save.

The cookie banner is off by default and is switched on per website.

What your visitors see

  • On their first visit, a box with Accept, Reject and Settings appears in the bottom right.

  • Under Settings, the visitor chooses per type: Necessary cookies (always on), Statistics, Marketing and Embedded videos.

  • The banner links to your cookie statement, or to your privacy statement if you have not uploaded one.

  • Every page has a Cookie settings link at the bottom, so a visitor can change their choice later.

  • The choice is remembered for six months.

Google Analytics and Google Tag Manager

With the cookie banner on, Google Analytics only places cookies after the visitor accepts Statistics. Google's advertising cookies follow the choice for Marketing. This also applies to a Google Tag Manager container you added through custom code.

Embedded videos and other embedded content

A YouTube or Vimeo video, a map or another embedded page on your webpage only loads after permission. Until then, the visitor sees "This content from YouTube is only loaded with your permission." with a Load button. When the visitor accepts Embedded videos, all embedded content loads straight away, on later pages too.

This applies to the content of your webpages. Embedded content in news items, blogs and events loads straight away.

Making custom code wait for permission

Custom code runs straight away, even with the cookie banner on. To make a script wait until the visitor gives permission, give it a category:

<script type="text/plain" data-category="analytics">
  // your code
</script>

Use analytics (Statistics), marketing (Marketing) or external_media (Embedded videos). If the script loads a file, put its address in data-src instead of src. This only works for scripts, not for iframes. Describe the cookies your own code places in your cookie statement.

Dashboard notice

If a website uses Google Analytics, custom code or embedded content while its cookie banner is off, super admins see a notice on the Dashboard in the new interface, listing what was found. If your website already asks for permission another way, for example with its own banner in Google Tag Manager, choose Hide this message. The notice then disappears for you, for all websites. Other super admins still see it.


Related articles

Did this answer your question?