if (document.location.protocol != 'file:') { (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','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-56076933-1', 'auto', 'clientGATracker'); ga('set', 'anonymizeIp', true); } /* customTrackingCode below*/ // Addtional Google Analytics Event Data // ===================================== // * gaEvtData.dimension1 - appID = customer's App ID (1000° internal) // * gaEvtData.dimension2 - customerId : customer ID (1000° internal) // * gaEvtData.dimension3 - epaperID : this epaper's id (1000° internal) // * gaEvtData.dimension4 - publishTarget : epaper was published as: preview, previewlink, zip, weblink, hosting // * gaEvtData.dimension5 - host : hostname and port number // * gaEvtData.dimension6 - pathName : epaper URL path without host // * gaEvtData.dimension7 - pageIndex : page index at the time event was triggered // * gaEvtData.dimension8 - hash : URL at the time the event was triggered // * gaEvtData.metric1 - elapsedTime : time since start of epaper // startPage : page that epaper was opened from window.trackEpaperView = function(gaEvtData, startPage) { console.log('trackEpaperView: ' + startPage + '\n' + JSON.stringify(gaEvtData)); } // page : epaper page that was viewed window.trackPageView = function(gaEvtData, page) { console.log('trackPageView: ' + page + '\n' + JSON.stringify(gaEvtData)); } // pageString : either 'all' or pagenumber of single page window.trackPDFDownload = function(gaEvtData, pageString) { console.log('trackPDFDownload: ' + pageString + '\n' + JSON.stringify(gaEvtData)); } // searchTerm : inputString from search field; is triggered multiple times after typing (with delay) window.trackSearch = function(gaEvtData, searchTerm) { console.log('trackSearch: ' + searchTerm + '\n' + JSON.stringify(gaEvtData)); } // itemString : pageIndex + item caption window.trackDirectoryClick = function(gaEvtData, itemString) { console.log('trackDirectoryClick: ' + itemString + '\n' + JSON.stringify(gaEvtData)); } // shareTarget : target network eg. facebook, twitter, ... // page : page that is beeing shared window.trackShareClick = function(gaEvtData, shareTarget, page) { console.log('trackShareClick: ' + shareTarget + '\n' + page + '\n' + JSON.stringify(gaEvtData)); } // link : target link of custom menu button window.trackCustomLinkClick = function(gaEvtData, link) { console.log('trackCustomLinkClick: ' + link + '\n' + JSON.stringify(gaEvtData)); } // itemString : pageIndex + media title window.trackMediaClick = function(gaEvtData, itemString) { console.log('trackMediaClick: ' + itemString + '\n' + JSON.stringify(gaEvtData)); }
Dokument wird geladen