CINXE.COM
Privacy and data protection – The City of Edinburgh Council
<!DOCTYPE html> <!--[if lt IE 7]> <html class="lt-ie10 lt-ie9 lt-ie8 lt-ie7 no-js" lang="en"> <![endif]--> <!--[if IE 7]> <html class="lt-ie10 lt-ie9 lt-ie8 no-js" lang="en"> <![endif]--> <!--[if IE 8]> <html class="lt-ie10 lt-ie9 no-js" lang="en"> <![endif]--> <!--[if IE 9]> <html class="lt-ie10 no-js" lang="en"> <![endif]--> <!--[if gt IE 9]><!--> <html class=" no-js" lang="en"><!--<![endif]--> <head><script type="text/javascript" src="/_static/js/bundle-playback.js?v=HxkREWBo" charset="utf-8"></script> <script type="text/javascript" src="/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("http://web.archive.org/web"); __wm.wombat("https://www.edinburgh.gov.uk/privacy","20221016013900","http://web.archive.org/","web","/_static/", "1665884340"); </script> <link rel="stylesheet" type="text/css" href="/_static/css/banner-styles.css?v=S1zqJCYt" /> <link rel="stylesheet" type="text/css" href="/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <meta charset="UTF-8"> <title>Privacy and data protection – The City of Edinburgh Council</title> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="alternate" type="application/rss+xml" href="/web/20221016013900/https://www.edinburgh.gov.uk/rss/news"> <link rel="apple-touch-icon" sizes="180x180" href="/web/20221016013900im_/https://www.edinburgh.gov.uk/site/images/favicons/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/web/20221016013900im_/https://www.edinburgh.gov.uk/site/images/favicons/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/web/20221016013900im_/https://www.edinburgh.gov.uk/site/images/favicons/favicon-16x16.png"> <link rel="manifest" href="/web/20221016013900/https://www.edinburgh.gov.uk/site/images/favicons/site.webmanifest"> <link rel="mask-icon" href="/web/20221016013900im_/https://www.edinburgh.gov.uk/site/images/favicons/safari-pinned-tab.svg" color="#6d3465"> <link rel="shortcut icon" href="/web/20221016013900im_/https://www.edinburgh.gov.uk/site/images/favicons/favicon.ico"> <meta name="msapplication-TileColor" content="#6d3465"> <meta name="msapplication-config" content="/site/images/favicons/browserconfig.xml"> <meta name="theme-color" content="#ffffff"> <link href="http://web.archive.org/web/20221016013900cs_/https://fonts.googleapis.com/css?family=Roboto:400,400i,500,500i,700,700i" rel="stylesheet"> <link rel="stylesheet" href="/web/20221016013900cs_/https://www.edinburgh.gov.uk/site/dist/orbit.css"> <link rel="stylesheet" type="text/css" href="/web/20221016013900cs_/https://www.edinburgh.gov.uk/site/styles/150120.css"> <meta name="revisit-after" content="2 days"> <meta name="robots" content="index,follow"> <meta name="author" content="beta.edinburgh.gov.uk"> <meta name="keywords" content=""> <meta name="description" content="Privacy"> <meta property="dcterms:creator" content="Ana Dragic"> <meta property="dcterms:rightsHolder" content="beta.edinburgh.gov.uk"> <meta property="dcterms:coverage" content="UK"> <meta property="dcterms:identifier" content="https://www.edinburgh.gov.uk/privacy"> <meta property="dcterms:publisher" content="beta.edinburgh.gov.uk"> <meta property="dcterms:subject" content=""> <meta property="dcterms:description" content="Privacy"> <meta property="dcterms:title" content="Privacy and data protection"> <meta property="dcterms:format" content="text/html"> <meta property="dcterms:language" content="en"> <meta property="dcterms:created" content="2019-03-27"> <meta property="dcterms:modified" content="2019-03-27"> <meta property="og:title" content="Privacy and data protection – The City of Edinburgh Council"> <meta property="og:site_name" content="The City of Edinburgh Council"> <meta property="og:type" content="website"> <meta property="og:url" content="http://web.archive.org/web/20221016013900/https://www.edinburgh.gov.uk/privacy"> <meta property="og:image" content="http://web.archive.org/web/20221016013900im_/https://www.edinburgh.gov.uk/site/dist/icons/png/logo.png"> <meta property="og:image:alt" content="The City of Edinburgh Council"/> <script src="/web/20221016013900js_/https://www.edinburgh.gov.uk/site/dist/libs/modernizr-custom.js"></script> <meta name="google-site-verification" content="NqqP9OeqOPLQvc9M8ID4KiYlHGMcTnp_daEi2MTTe6I"/> <script src="/web/20221016013900js_/https://www.edinburgh.gov.uk/site/js/swfobject.min.js"></script> </head> <body class="two-column document-article"> <nav class="skip-links" aria-label="Skip link Navigation"> <ul class="list list--skip-links"> <li class="list__item"> <a class="list__link" href="#content" rel="nofollow"> Skip to content </a> </li> <li class="list__item"> <a class="list__link" href="#js-menu-toggle" rel="nofollow"> Skip to navigation </a> </li> </ul> </nav> <header class="site-header" id="top"> <div class="container"> <div class="identity"> <a href="/web/20221016013900/https://www.edinburgh.gov.uk/" class="identity__link" title="The City of Edinburgh Council Home Page"> <picture> <source srcset="/web/20221016013900im_/https://www.edinburgh.gov.uk/site/dist/images/edinburgh-logo.svg" type="image/svg+xml"> <img src="/web/20221016013900im_/https://www.edinburgh.gov.uk/site/dist/images/edinburgh-logo.png" class="identity__logo" alt="Logo: The City of Edinburgh Council"/> </picture> <span class="visually-hidden">The City of Edinburgh Council</span> </a> </div> <nav class="nav nav--primary-navigation" aria-label="Main Navigation"> <div class="account-navigation"><ul class="list list--inline"><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/myaccount">My Account</a></li></ul></div><div class="navigation-buttons"><ul class="list list--inline"><li class="list__item list__item--account"><a class="button button--icon" href="/web/20221016013900/https://www.edinburgh.gov.uk/myaccount"><span class="icon icon-ui-account-primary"></span><span class="icon-fallback">My Account</span></a></li><li class="list__item"><a class="button button--icon list__link js-search-toggle js-toggle" id="js-search-toggle" href="#js-search" data-a11y-toggle="js-search"><span class="icon icon-ui-search-primary search-icon"></span><span class="icon toggle-icon toggle-icon--search"><span class="toggle-icon__line"></span></span><span class="button__text">Search</span></a><button class="visually-hidden search-hidden-focus" data-focus="search-site-header">Search our site</button></li><li class="list__item"><a class="button button--icon list__link js-menu-toggle js-toggle" id="js-menu-toggle" href="#js-menu" data-a11y-toggle="js-menu"><span class="icon toggle-icon"><span class="toggle-icon__line"></span></span><span class="button__text">Menu</span></a></li></ul></div> </nav> </div> <form class="site-search form form--search site-search--header" id="js-search" action="/web/20221016013900/https://www.edinburgh.gov.uk/site-search/results/" method="get"> <div class="container"> <div class="form__control"> <label class="form__label visually-hidden" for="search-site-header"> Search </label> <div class="form__append-group"> <input class="form__field" type="search" size="18" maxlength="40" name="q" placeholder="Search" id="search-site-header"> <button class="button" type="submit"> <span class="icon icon-ui-search"></span> <span class="icon-fallback">Search</span> </button> </div> </div> </div> <button class="visually-hidden site-search__focus-button" data-focus="js-search-toggle">View menu</button> </form> <div class="menu-navigation" id="js-menu"> <div class="container"> <nav class="nav" aria-label="Our services"> <h2 class="nav__heading">Our services</h2> <ul class="list list--3up"><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/archives/edinburgh-city-archives-1">Archives</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/benefits-grants">Benefits and grants</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/bins-recycling">Bins and recycling</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/births-marriages-deaths">Births, marriages and deaths</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/business">Business</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/council-democracy">Council and Committees</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/council-tax">Council Tax</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/emergencies-safety-crime">Emergency, safety and crime</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/events-venues">Events and venues</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/say">Have your say</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/housing">Housing</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/jobs-training-volunteering">Jobs, training and volunteering</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/leisure-sport-culture">Leisure, sports and culture</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/libraries">Libraries</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/MovingtoEdinburgh">Moving to Edinburgh</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/news">News</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/pay">Pay a bill</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/pests-pollution-noise-food">Pests, pollution, noise and food</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/planning-building">Planning and building</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/request">Request a service</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/report">Report an issue</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/roads-travel-parking">Roads, travel and parking</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/schools-learning">Schools and learning</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/social-care-health">Social care and health</a></li><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/strategy-performance-research">Strategy, performance and research</a></li></ul> </nav> </div> </div> </header> <nav class="breadcrumb" aria-label="Breadcrumb Navigation"> <div class="container"> <ol class="list list--breadcrumb"> <li class="list__item"> <a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/" rel="home"> Home </a> </li> <li class="list__item"> <a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/council-democracy"> Council and Committees </a> </li> <li class="list__item"> <a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/managing-information"> Managing information </a> </li> <li class="list__item"><span>Privacy and data protection</span></li> </ol> </div> </nav> <main class="site-main"> <div class="container"> <section class="site-content" id="content" tabindex="-1" aria-label="Site content area"> <h1 class="page-heading"> Privacy and data protection </h1> <div class="page-content"> <nav class="nav nav--pages-in" aria-labelledby="a11y-pages-in-heading"> <h2 class="nav__heading visually-hidden" id="a11y-pages-in-heading">In this section…</h2> <ol class="nav__list list list--2up" id="pages-in-list"> <li class="list__item is-active"> <span class="list__link"> <strong class="visually-hidden">You are here:</strong> Overview </span> </li> <li class="list__item"> <a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/managing-information/privacy/2"> <span class="list__link-text">Data protection</span> </a> </li> <li class="list__item"> <a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/managing-information/privacy/3"> <span class="list__link-text">Data collection and personal data categories</span> </a> </li> <li class="list__item"> <a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/managing-information/privacy/4"> <span class="list__link-text">Purpose of processing personal information</span> </a> </li> <li class="list__item"> <a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/managing-information/privacy/5"> <span class="list__link-text">Information sharing</span> </a> </li> <li class="list__item"> <a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/managing-information/privacy/6"> <span class="list__link-text">Retention periods and your rights</span> </a> </li> <li class="list__item"> <a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/managing-information/privacy/7"> <span class="list__link-text">Incidents, complaints and comments</span> </a> </li> <li class="list__item"> <a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/managing-information/privacy/8"> <span class="list__link-text">Data Protection Officer</span> </a> </li> </ol> </nav> <h2 class="page-subheading"> Overview </h2> <div class="editor"> <p>To deliver our services we need to collect, store, use, share and dispose of personal information. This is known as data processing.</p> <p>When we collect personal data, we must tell you why we need it, and what we will do with it. This information is called a privacy notice.</p> <p>This privacy notice explains how we process your personal information as a Council. More specific information will also be provided by Council services when you use them. If this privacy notice changes in any way, we will place an updated version on this page. By regularly reviewing this page you will ensure that you are always aware of what information we collect, how we use it and under what circumstances, if any, we share it with others.</p> <p>In processing personal information, The City of Edinburgh Council must comply with the EU General Data Protection Regulation and the Data Protection Act 2018. We refer to this as data protection legislation.</p> <p><a class="button" href="http://web.archive.org/web/20221016013900/https://www.edinburgh.gov.uk/privacynotices">Register of privacy notices</a> </p> <h3>Data controller</h3> <p>Data controllers are the organisations or individuals that determine how your personal information will be processed. By law, data controllers must pay a fee to register with the <a href="http://web.archive.org/web/20221016013900/http://www.ico.org.uk/">UK Information Commissioner</a> who is the data protection regulator within the UK.</p> <p>The City of Edinburgh Council data controller registration number: Z5545409.</p> </div> <nav class="pagination" aria-label="Pagination"> <ul class="pagination__list"> <li class="pagination__item pagination__item--previous"> <span class="pagination__link is-disabled"> <span class="pagination__icon icon icon-ui-chevron-left"></span> <span class="pagination__content"> <strong class="pagination__label">Previous<span class="visually-hidden"> page</span></strong> <span class="pagination__meta"> <span class="visually-hidden">: </span>You are on the first page </span> </span> </span> </li> <li class="pagination__item pagination__item--next"> <a class="pagination__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/managing-information/privacy/2"> <span class="pagination__content"> <strong class="pagination__label">Next<span class="visually-hidden"> page</span></strong> <span class="pagination__meta"> <span class="visually-hidden">: </span>Data protection </span> </span> <span class="pagination__icon icon icon-ui-chevron-right"></span> </a> </li> </ul> </nav> </div> <aside class="aside aside--sidebar" aria-label="Aside Navigation"> </aside> </section> <script> if (document.cookie.split(';').some(function (item) { return item.trim().startsWith('CookieControl='); })) { let cookieControl = document.cookie .split('; ') .find(function (row) { return row.startsWith('CookieControl'); }) .split('=')[1]; let analyticsCookie = JSON.parse(cookieControl); if (analyticsCookie.optionalCookies.analytics === 'accepted') { let request = new XMLHttpRequest(); request.open('GET', 'http://web.archive.org/web/20221016013900/https://www.edinburgh.gov.uk/webbots/snippet', true); request.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); request.onload = function() { if (request.status === 200) { let response = request.responseText; let head = document.querySelector('head'); let snippet = document.createRange().createContextualFragment(response); head.appendChild(snippet); } }; request.send(); } } </script> </div> </main> <footer class="site-footer"> <div class="container container--flex"> <nav class="site-footer__group" aria-label="Footer Navigation"> <ul class="list list--4up"><li class="list__item"><a class="list__link" href="/web/20221016013900/https://www.edinburgh.gov.uk/news">News</a></li><li class="list__item"><a class="list__link" href="http://web.archive.org/web/20221016013900/https://www.edinburgh.gov.uk/contact">Contact us</a></li><li class="list__item"><a class="list__link" href="http://web.archive.org/web/20221016013900/https://www.edinburgh.gov.uk/workforus">Work for us</a></li><li class="list__item"><a class="list__link" href="http://web.archive.org/web/20221016013900/https://www.edinburgh.gov.uk/cookies">Cookies</a></li><li class="list__item"><a class="list__link" href="http://web.archive.org/web/20221016013900/https://www.edinburgh.gov.uk/privacy">Privacy</a></li><li class="list__item"><a class="list__link" href="http://web.archive.org/web/20221016013900/https://www.edinburgh.gov.uk/terms">Terms and disclaimer</a></li><li class="list__item"><a class="list__link" href="http://web.archive.org/web/20221016013900/https://www.edinburgh.gov.uk/languages">Languages</a></li><li class="list__item"><a class="list__link" href="http://web.archive.org/web/20221016013900/https://www.edinburgh.gov.uk/accessibility">Accessibility</a></li></ul> </nav> </div> <div class="container"> <nav class="nav nav--social-links" aria-label="Social Links"><ul class="list list--inline"><li class="list__item"><a class="list__link" href="http://web.archive.org/web/20221016013900/https://www.facebook.com/edinburghcouncil" title="Find us on Facebook" target="_blank" rel="noopener"><span class="icon icon-social-facebook"></span><span class="visually-hidden">Find us on Facebook</span></a></li><li class="list__item"><a class="list__link" href="http://web.archive.org/web/20221016013900/https://www.youtube.com/user/EdinburghCouncil" title="Youtube" target="_blank" rel="noopener"><span class="icon icon-social-youtube"></span><span class="visually-hidden">Youtube</span></a></li><li class="list__item"><a class="list__link" href="http://web.archive.org/web/20221016013900/https://twitter.com/Edinburgh_CC" title="Follow us on Twitter" target="_blank" rel="noopener"><span class="icon icon-social-twitter"></span><span class="visually-hidden">Follow us on Twitter</span></a></li><li class="list__item"><a class="list__link" href="http://web.archive.org/web/20221016013900/https://www.flickr.com/photos/edinburghcouncil" title="Flickr" target="_blank" rel="noopener"><span class="icon icon-social-flickr"></span><span class="visually-hidden">Flickr</span></a></li><li class="list__item"><a class="list__link" href="http://web.archive.org/web/20221016013900/https://www.linkedin.com/company/city-of-edinburgh-council/" title="Linkedin" target="_blank" rel="noopener"><span class="icon icon-social-linkedin"></span><span class="visually-hidden">Linkedin</span></a></li><li class="list__item"><a class="list__link" href="http://web.archive.org/web/20221016013900/https://www.pinterest.co.uk/edinburghcc/" title="Pinterest" target="_blank" rel="noopener"><span class="icon icon-social-pinterest"></span><span class="visually-hidden">Pinterest</span></a></li></ul></nav> </div> <div class="site-footer__bottom"> <div class="container"> <p class="site-footer__text site-footer__rights">© The City of Edinburgh Council</p> <p class="site-footer__text"> Designed and Powered by <a class="site-footer__link" href="http://web.archive.org/web/20221016013900/https://www.jadu.net/">Jadu</a>. </p> <a class="button button--square back-to-top" href="#top" rel="nofollow" data-scroll-to="#top" title="Back to Top"> <span class="visually-hidden">Back to the top</span> <span class="icon icon-ui-chevron-up-black"></span> </a> </div> </div> </footer> <link rel="stylesheet" href="/web/20221016013900cs_/https://www.edinburgh.gov.uk/site/dist/icons/icons.data.svg.css"> <script src="//web.archive.org/web/20221016013900js_/https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script>window.jQuery || document.write('<script src="/site/dist/libs/jquery.min.js"><\/script>');</script> <script src="/web/20221016013900js_/https://www.edinburgh.gov.uk/site/dist/orbit.js"></script> <script src="/web/20221016013900js_/https://www.edinburgh.gov.uk/site/js/almond.min.js"></script> <script src="/web/20221016013900js_/https://www.edinburgh.gov.uk/site/js/util.min.js"></script> <script> // IE Polyfill if (typeof Object.assign !== 'function') { // Must be writable: true, enumerable: false, configurable: true Object.defineProperty(Object, "assign", { value: function assign(target, varArgs) { // .length of function is 2 'use strict'; if (target == null) { // TypeError if undefined or null throw new TypeError('Cannot convert undefined or null to object'); } var to = Object(target); for (var index = 1; index < arguments.length; index++) { var nextSource = arguments[index]; if (nextSource != null) { // Skip over if undefined or null for (var nextKey in nextSource) { // Avoid bugs when hasOwnProperty is shadowed if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) { to[nextKey] = nextSource[nextKey]; } } } } return to; }, writable: true, configurable: true }); } (function() { function CludoAnalytics (params) { this.baseUrl = params.apiHostname + '/api/v3/'; this.customerID = params.customerID; this.engineID = params.engineID; this.query = this.htmlDecode(params.query); this.queryID = params.queryID; this.resultsFound = params.resultsFound; this.referralUrl = params.referralUrl; this.sessionId = ''; this.querySessionId = ''; this.sessionExpiry = 30 * 60 * 1000; // get ref values form localStorage, then remove to prevent erroneous duplication this.refurl = this.getValue('refurl'); this.refpt = this.getValue('refpt'); this.removeValue('refurl'); this.removeValue('refpt'); // if null, user went directly to search results page, so use as ref if (this.refurl === null) { this.refurl = window.location.protocol + '//' + window.location.hostname + window.location.pathname; } if (this.refpt === null) { this.refpt = document.title; } } CludoAnalytics.prototype.storeValue = function (key, value) { if (this.isLocalStorageSupported()) { localStorage.setItem(key, value); return true; } return false; }; CludoAnalytics.prototype.getValue = function (key) { if (this.isLocalStorageSupported()) { return localStorage.getItem(key); } }; CludoAnalytics.prototype.removeValue = function (key) { if (this.isLocalStorageSupported()) { return localStorage.removeItem(key); } }; CludoAnalytics.prototype.isLocalStorageSupported = function () { try { localStorage.setItem('jadu', 'jadu'); localStorage.removeItem('jadu'); return true; } catch (error) { return false; } }; CludoAnalytics.prototype.generateUuid = function () { var dateTime = new Date().getTime(); return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, function(char) { var r = (dateTime + Math.random() * 16) % 16 | 0; dateTime = Math.floor(dateTime / 16); return (char === 'x' ? r :(r & 0x3 | 0x8)).toString(16); }); }; CludoAnalytics.prototype.isSessionExpired = function (sessionLastActive) { var currentTime = new Date(); var lastActiveTime = new Date(sessionLastActive); return ((currentTime - lastActiveTime) > this.sessionExpiry); }; CludoAnalytics.prototype.getSessionUuid = function () { var sessionId = this.getValue('JaduCludoSessionId'); var sessionLastActive = this.getValue('JaduCludoSessionLastActive'); if (sessionId === null || this.isSessionExpired(sessionLastActive)) { sessionId = this.generateUuid(); this.storeValue('JaduCludoSessionId', sessionId); } this.storeValue('JaduCludoSessionLastActive', new Date()); return sessionId; }; CludoAnalytics.prototype.getQuerySessionUuid = function () { var querySessionId = this.getValue('JaduCludoQuerySessionId'); if (querySessionId === null) { querySessionId = this.generateUuid(); this.storeValue('JaduCludoQuerySessionId', querySessionId); } return querySessionId; }; CludoAnalytics.prototype.appendParams = function (baseUrl, params) { params = params || {}; var queryString = ''; Object.keys(params).map(function (key) { if (queryString !== '') { queryString += '&'; } queryString += key + '=' + encodeURIComponent(params[key]) }); if (queryString === '') { return baseUrl; } return baseUrl + '?' + queryString; }; CludoAnalytics.prototype.postRequest = function (url, onSuccess, onFailure) { var request = new XMLHttpRequest(); request.open('POST', url, true); request.setRequestHeader('Content-type', 'application/json;charset=UTF-8'); request.onload = function () { if (request.status === 200) { if (typeof onSuccess === 'function') { onSuccess(JSON.parse(request.responseText)); } } if (typeof onFailure === 'function') { onFailure(); } }; if (typeof onFailure === 'function') { request.onerror = onFailure; } request.send(); }; CludoAnalytics.prototype.buildBaseParams = function () { var params = { sw: this.query, hn: window.location.hostname, rc: this.resultsFound, qid: this.queryID, sid: this.getSessionUuid(), qsid: this.getQuerySessionUuid() }; if (this.refurl !== null && this.refpt !== null) { // set refurl / refpt to those set in localStorage params.refurl = this.refurl; params.refpt = this.refpt; } else if (this.referralUrl !== '') { // if localStorage not available, default to symfony supplied referral, if set params.refurl = this.referralUrl; params.refpt = this.referralUrl; } return params; }; CludoAnalytics.prototype.htmlDecode = function (string) { var whiteListCharacters = { '&': '&', '>': '>', '<': '<', '"': '"', ''': '\'', ''': '\'' }; if (!string) { return ''; } Object.keys(whiteListCharacters).map(function (escapedString) { string = String(string).replace(new RegExp(escapedString, 'g'), whiteListCharacters[escapedString]); }); return string; }; CludoAnalytics.prototype.getUrlParameter = function(parameterName) { var items = location.search.substr(1).split('&'); for (var i = 0; i < items.length; i++) { var currentItem = items[i].split('='); if (currentItem[0] === parameterName) { return decodeURIComponent(currentItem[1]); } } return null; }; CludoAnalytics.prototype.queryLog = function (additionalParams) { if (this.getUrlParameter('startNum') !== null) { // we're on a paginated search result page, so don't post queryLog return; } var baseUrl = this.baseUrl + this.customerID + '/' + this.engineID + '/search/pushstat/querylog'; var baseUrlParams = this.buildBaseParams(); var params = typeof additionalParams === 'object' ? Object.assign(additionalParams, baseUrlParams) : baseUrlParams; var requestUrl = this.appendParams(baseUrl, params); this.postRequest(requestUrl); }; CludoAnalytics.prototype.clickLog = function (additionalParams, onSuccessCallback, onErrorCallback) { var baseUrl = this.baseUrl + this.customerID + '/' + this.engineID + '/search/pushstat/clicklog'; var baseUrlParams = this.buildBaseParams(); var params = typeof additionalParams === 'object' ? Object.assign(additionalParams, baseUrlParams) : baseUrlParams; var requestUrl = this.appendParams(baseUrl, params); this.postRequest(requestUrl, onSuccessCallback, onErrorCallback); }; CludoAnalytics.prototype.addSearchFormListener = function () { var searchForm = document.querySelectorAll('form.site-search'); if (!searchForm || !searchForm[0]) { console.warn('Unable to find search form \'form.site-search\''); return; } searchForm[0].addEventListener('submit', function () { this.storeValue('refurl', window.location.protocol + '//' + window.location.hostname + window.location.pathname); this.storeValue('refpt', document.title); this.storeValue('JaduCludoQuerySessionId', this.generateUuid()); }.bind(this)); }; CludoAnalytics.prototype.getCludoBannerProperties = function () { var banners = document.querySelectorAll('div.cludo-banner'); if (!banners || !banners[0]) { return; } // only one banner is shown, so get the first element var bannerId = banners[0].getAttribute('data-banner-id'); if (bannerId === null || bannerId === '') { return; } return { ban: 1, bnrs: bannerId }; }; CludoAnalytics.prototype.initCludoBannerClickLog = function () { var banners = document.querySelectorAll('div.cludo-banner'); if (!banners || !banners[0]) { return; } // only one banner is shown, so get the first element var banner = banners[0]; var bannerId = banner.getAttribute('data-banner-id'); if (bannerId === null || bannerId === '') { return; } var bannerLinks = banner.querySelectorAll('a'); this.initLinkClickLog(bannerLinks, { cloi: bannerId, ls: 'banner' }); }; CludoAnalytics.prototype.initLinkClickLog = function (links, additionalParams) { if (!links.length) { return; } for (var i = 0; i < links.length; i++) { var link = links[i]; link.onclick = function (event) { var e = event || window.event; var target = e.currentTarget || e.srcElement; // detect if link should be opened in a new tab var openInNewTab = ( e.ctrlKey || e.shiftKey || e.metaKey || (e.button && e.button === 1) ); if (target.getAttribute('target') === '_blank') { openInNewTab = true; } if (openInNewTab) { var newWindow = window.open('', '_blank'); } // prevent default event to allow ajax request to complete before forwarding user if (e.preventDefault()) { e.preventDefault(); } else { e.returnValue = false; } if (e.stopPropagation()) { e.stopPropagation(); } else { e.cancelBubble = true; } var linkUrl = target.getAttribute('href'); var linkTitle = typeof target.text !== 'undefined' ? target.text : ''; function goToResult() { if (newWindow) { newWindow.location = linkUrl; } else { window.location = linkUrl; } } var baseParams = { clurl: linkUrl, cli: i, title: linkTitle }; var params = typeof additionalParams === 'object' ? Object.assign(additionalParams, baseParams) : baseParams; this.clickLog(params, function () { // onSuccess callback goToResult(); }, function () { // onError callback goToResult(); }); }.bind(this); } }; function initAnalytics() { var apiHostname = 'http://web.archive.org/web/20221016013900/https://api-eu1.cludo.com'; var engineID = 10781; var customerID = 2361; var query = ''; var queryID = ''; var resultsFound = 0; var referralUrl = 'http://web.archive.org/web/20221016013900/https://www.edinburgh.gov.uk/'; var cludoAnalytics = new CludoAnalytics({ apiHostname: apiHostname, engineID: engineID, customerID: customerID, query: query, queryID: queryID, resultsFound: resultsFound, referralUrl: referralUrl }); cludoAnalytics.addSearchFormListener(); if (engineID === -1 || customerID === -1) { // without engineID or customerID cannot post to API, so return return; } if (queryID === '') { // if queryID is empty, we're not on the results page, so return return; } var queryLogParams = {}; var bannerProperties = cludoAnalytics.getCludoBannerProperties(); if (bannerProperties) { queryLogParams = Object.assign(bannerProperties, queryLogParams); } cludoAnalytics.queryLog(queryLogParams); cludoAnalytics.initCludoBannerClickLog(); var searchResults = document.querySelectorAll('ul.search-results > li a'); if (!searchResults.length) { return; } cludoAnalytics.initLinkClickLog(searchResults); } window.addEventListener('load', function () { initAnalytics(); }); }()) </script> <!-- GOOGLE ANALYTICS --> <noscript><iframe src="//web.archive.org/web/20221016013900if_/https://www.googletagmanager.com/ns.html?id=GTM-P39M2V" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='//web.archive.org/web/20221016013900/https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-P39M2V');</script> <!-- GA4 ANALYTICS gtag --> <script async src="http://web.archive.org/web/20221016013900js_/https://www.googletagmanager.com/gtag/js?id=G-ENB58TQFF8"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-ENB58TQFF8'); </script> <!-- COOKIE TOOL --> <!-- our additional styling --> <style> /* makes focus visible on the footer icon for accessibility */ #ccc-icon:focus { filter: invert(100%); border: 1px dotted dimgrey; } /* removes overlay to fix search issue and removes analytics section with toggle */ #ccc-overlay, #ccc-optional-categories { display: none; } </style> <!-- the code for the tool itself--> <script src="http://web.archive.org/web/20221016013900js_/https://cc.cdn.civiccomputing.com/9/cookieControl-9.x.min.js"></script> <script> var config = { apiKey: '1d635334d612bbaeef94d8028c6905934aec283f', product: 'PRO', necessaryCookies: ['IV_JCT','edi_sms', 'AMWEBJCT!%2Fsps!JSESSIONID', 'AMWEBJCT!%2FCAS!JSESSIONID', 'AMWEBJCT!%2FCAS!FIM_IVTAPP_TARGET', 'AMWEBJCT!%2FCAS!https%3A%2F%2Fauth.edinburgh.gov.uk%2Fsps%2FCAS%2Fsaml20FIMSAML20', 'edi_redirect', 'amFkdSBjbG91ZGZsYXJlIGNkbiBieXBhc3MgbGl2ZQ'], optionalCookies: [{ name : 'analytics', label: 'Analytics cookies', description: 'Analytical cookies help us to improve our website by collecting and reporting information on its usage.', cookies: ['_ga', '_gid', '_gat', '__utma', '__utmt', '__utmb', '__utmc', '__utmz', '__utmv'], onAccept: function(){(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date(); a=s.createElement(o), m=s.getElementsByTagName(o)[0]; a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','http://web.archive.org/web/20221016013900/https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-11731499-1', 'auto'); ga('send', 'pageview');}, onRevoke: function(){window['ga-disable-UA-11731499-1'] = true;}, recommendedState: true, }], statement: { description: 'For more information visit our', name: 'cookies page', url: '/cookies', updated: '06/04/2020' }, initialState: 'OPEN', position: 'left', theme: 'DARK', closeStyle: 'icon', text: { intro: "<p>Some cookies are necessary for the site to work. You can only disable these by changing your browser preferences.</p><p>We'd also like to use analytics cookies, as they help us improve our website by providing information on its usage.</p>", acceptSettings: "OK to use analytics cookies", rejectSettings: "Don't use analytics cookies", necessaryTitle: "", necessaryDescription: "" }, setInnerHTML: true, branding: { fontFamily: 'Roboto, sans-serif', fontSizeTitle: '1.2em', fontSizeIntro: '1em', fontSizeHeaders: '1em', fontSize: '1em', backgroundColor: '#6D3465', toggleText: '#fff', toggleColor: '#2f2f5f', toggleBackground: '#111125', removeAbout: true }, accessibility: { highlightFocus: true, outline: true } }; CookieControl.load( config ); </script> </body> </html> <!-- FILE ARCHIVED ON 01:39:00 Oct 16, 2022 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 12:01:18 Dec 13, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 1.154 exclusion.robots: 0.033 exclusion.robots.policy: 0.02 esindex: 0.015 cdx.remote: 10.701 LoadShardBlock: 112.661 (3) PetaboxLoader3.datanode: 80.602 (4) PetaboxLoader3.resolve: 210.172 (2) load_resource: 226.083 -->