The Style Kit includes a plugin for hiding a cookie notice for 30 days.
This plugin builds upon functionality provided by the alert plugin.
Using this plugin to target multiple elements (i.e. multiple cookie notices) is not supported.
This plugin depends upon:
See distribution for how to include these dependencies.
It is recommended to use the cookie notice alert variant with this plugin.
When this alert is dismissed, a cookie is set on the client to expire after 30 days. On each page load, a check is made
for this cookie, if found the
data-bsk-role="cookie-notice" is removed from the DOM, hiding the alert.
The cookie is set at the sub-domain level (i.e.
foo.example.com is considered different to