Cookie Disclosure

The Queen's website cookie disclosure message is available to be applied to any Queen's website.

All administrators of Queen's websites are strongly encouraged to include this disclosure where it is applicable. For more information on the importance of web privacy compliance, refer to the Records Management and Privacy Office.

For administrators of web accounts built using the WebPublish Service (basic, custom, and academia service levels), the cookie disclosure is automatically included in your site.

How it works

When a user encounters and clicks the "OK" button, both a first party and a third party cookie is placed on the users browser for www.queensu.ca. Any subsequent visit to any Queen's website (cross-domain included) that uses the cookie disclosure code, checks for the existence of the cookie and if found, the cookie disclosure message is not shown. In cases where the users browser is blocking third party cookies the disclosure message will only be silenced for the one website where they click the "OK" button.

The cookies expire after 90 days, after which the user will be shown the disclosure message again.

Cookie Disclosure Example
An example of the cookie disclosure message that appears at the bottom of a user's screen

<script type="text/javascript" src="https://www.queensu.ca/resources/cookiedisclosure/core.js"></script>

To implement choose one of the following implementation options:

Option 1:

Include the javascript snippet in a Web Publish / Drupal Block

drupal block screenshot
  1. Create a new custom block.
  2. In the block body field select source and enter the javascript snippet listed above.
  3. Save the block
  4. Add the block to a region on your site. If your site has a footer region add it there, if not, add it to another region near the bottom of the page.

Option 2:

Use Google Tag Manager to include the javascript snippet

cookie disclosure gtm screenshot

Option 3:

Add the javascript snippet code to your sites html or CMS template manager just above the close body tag </body>