Queen's University



Faculty & Staff

Queen's Cookie Disclosure

The Queen's cookie disclosure message is available to to all Queen's websites. When a user 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.

Cookie Disclosure Example

<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

    [example cookie disclosure]

    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 [example cookie disclosure javascript]
  • Option 3: Add the javascript snippet code to your sites html or CMS template manager just above the close body tag </body>