The cookie banner is a web component that informs users about cookie usage on a website and obtains their consent in compliance with privacy laws like GDPR. It features a message about how cookies enhance user experience, a link to the privacy policy, and an 'Okay' button for consent. Initially hidden, it displays via a fade-in effect only if cookies haven't been accepted, storing this preference to prevent future displays. This makes it ideal for seamless integration into any external site needing clear, non-intrusive user consent management.
Demo Page: External Cookie Banner
External sites can now embed the Cookie Banner by including the following script in their header or footer.
Note: Replace 'URL_GOES_HERE' with the link to your site's privacy policy page. The 'data-z-index' and 'data-privacy-url' attributes are optional. The default privacy policy url is "https://www.buffalo.edu/administrative-services/policy-compliance-and-internal-controls/policy/ub-policy-lib/privacy.html"
To ensure the banner appears on every page, add this script to the 'include' files of your site's header.
The Cookie Banner is enabled by default across all UB CMS sites. If you want to not show it on your site, then here is how to disable it.
Only users with the 'cookiebanner-managers' group can disable this banner.
Follow the steps below to disable the cookie banner for your site.