try { // created by datarunsdeep.com.au - 2016 (function(){ var current = _satellite.getVar('Data Layer GTM Start'); var cookieValue; var date = new Date(); date.setTime(date.getTime()+(30*60*1000)); if (typeof(current) == "undefined" || current === "" || current === null) { cookieValue = date.getTime(); } else { cookieValue = _satellite.getVar('Cookie - Session Start'); } date = new Date(); date.setTime(date.getTime()+(30*60*1000)); var cookieName = 'gtm-session-start'; var cookieExpires = date.toGMTString(); var cookiePath = '/'; document.cookie = cookieName + '=' + cookieValue + '; Expires=' + cookieExpires + '; Path=' + cookiePath; })(); } catch (e) { }