/* customTrackingCode below*/ var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="https://analytics.schellenberggruppe.ch/"; _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', '42']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); })(); // startPage : page that epaper was opened from window.trackEpaperView = function(gaEvtData, startPage) { _paq.push(['trackContentInteraction', 'trackEpaperView', startPage, JSON.stringify(gaEvtData)]); } // page : epaper page that was viewed window.trackPageView = function(gaEvtData, page) { _paq.push(['trackContentInteraction', 'trackPageView', page, JSON.stringify(gaEvtData)]); } // pageString : either 'all' or pagenumber of single page window.trackPDFDownload = function(gaEvtData, pageString) { _paq.push(['trackContentInteraction', 'trackPDFDownload', pageString, JSON.stringify(gaEvtData)]); } // searchTerm : inputString from search field; is triggered multiple times after typing (with delay) window.trackSearch = function(gaEvtData, searchTerm) { _paq.push(['trackContentInteraction', 'trackSearch', searchTerm, JSON.stringify(gaEvtData)]); } // itemString : pageIndex + item caption window.trackDirectoryClick = function(gaEvtData, itemString) { _paq.push(['trackContentInteraction', 'trackDirectoryClick', itemString, JSON.stringify(gaEvtData)]); } // shareTarget : target network eg. facebook, twitter, ... // page : page that is beeing shared window.trackShareClick = function(gaEvtData, shareTarget, page) { _paq.push(['trackContentInteraction', 'trackShareClick', shareTarget + '\n' + page, JSON.stringify(gaEvtData)]); } // link : target link of custom menu button window.trackCustomLinkClick = function(gaEvtData, link) { _paq.push(['trackContentInteraction', 'trackCustomLinkClick', link, JSON.stringify(gaEvtData)]); } // itemString : pageIndex + media title window.trackMediaClick = function(gaEvtData, itemString) { _paq.push(['trackContentInteraction', 'trackMediaClick', itemString, JSON.stringify(gaEvtData)]); }
Dokument wird geladen