Adding a Cookie Notification Banner to Your Non-UBCMS Website

To conform with modern web practice, websites in the UB Content Management System contain a popup cookie notification banner. Learn how to add the same banner to your UB site hosted outside of the UBCMS (e.g., through UB CaaS).

Applies To: UB web content creators working outside the UBCMS

Last Reviewed: October 10, 2024

Instructions

1. Modify the following code snippet: 

<script async src="https://www.buffalo.edu/cookie-banner-external.js" data-privacy-url="URL_GOES_HERE" data-z-index="999999"></script>

2. Include the modified code snippet on every page of your non-UBCMS website's <head> content

Banner preview

Desktop cookie banner preview.

Desktop cookie banner preview

Mobile cookie banner preview.

Mobile cookie banner preview

Still need help?

Contact the UBIT Help Center.