Ad Choices
(function() {
var ev = document.createElement('script'); ev.type = 'text/javascript'; ev.async = true; ev.setAttribute('data-ev-tag-pid', 5728); ev.setAttribute('data-ev-tag-ocid', 3657);
ev.src = '//c.evidon.com/pub/tag.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ev, s);
})();
(function (id, cid, cb) {
var d = document
, s = d.createElement('script')
, ts = d.getElementsByTagName('script')[0];
s.type = 'text/javascript';
s.async = true;
s.setAttribute('data-ev-noticeid', id);
s.setAttribute('data-ev-coid', cid);
s.setAttribute('data-ev-consent-callback', cb);
s.setAttribute('data-ev-consent-type', 'cn');
s.src = '//c.evidon.com/pub/gdprnotice.js';
ts.parentNode.insertBefore(s, ts);
})(5728, 3657, 'g_consentGiven');
/*
Function used for consent callback. Put any script or tag manager
calls in here to execute after consent is detected. Note, this
needs to be part of the window namespace so either leave this out of any self executing
function calls, or assign it to the window namespace (window.g_consentGiven = function() {}
*/
function g_consentGiven() {
}
/*
// example function which can be used to load a script after consent has been given.
// Ex: g_addScript('https://some.tag.com/tracker');
function g_addScript(url) {
var head = document.head;
var script = document.createElement('script');
script.type = 'text/javascript';
script.async = true;
script.src = url;
head.appendChild(script);
}
*/