Samo prijavljeni uporabniki lahko berejo z načinom branja "brez ignoriranih"
(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'); // Creates an adblock detection plugin. // follow http://www.kaushik.net/avinash/adblock-tracking-google-analytics-code-metrics-reports/ - morph 2016-05-08 ga('provide', 'adblockTracker', function(tracker, opts) { var ad = document.createElement('ins'); ad.className = 'AdSense'; ad.style.display = 'block'; ad.style.position = 'absolute'; ad.style.top = '-1px'; ad.style.height = '1px'; document.body.appendChild(ad); tracker.set('dimension' + opts.dimensionIndex, !ad.clientHeight); document.body.removeChild(ad); }); ga('create', ga_code, ga_p3); ga('require', 'ec'); console.log('ga ec require sent'); ga('require', 'displayfeatures'); ga('require', 'adblockTracker', {dimensionIndex: 6}); ga('set','dimension1', fpuid); console.log("ga dimension1: ",fpuid); ga('set','dimension2', dimensionStatusValue); console.log("ga dimension2: ",dimensionStatusValue); ga('set','dimension4','0'); console.log("ga dimension4: ",'0'); if (typeof dim5 !== 'undefined') { ga('set','dimension5', dim5); console.log("ga dimension5: ",dim5); } // if( !gaCampaignMatch ) ga('send', 'pageview'); ga('send', 'event', 'User', 'Status','gost',{'nonInteraction': 1}) console.log("ga event: ",'gost'); $(document).ready(function(){ $(document).on('fin2:ga-send',function(event,data){ console.log('fin2:ga-send',data); ga('send',data); }); console.log("GoogleAnalytics UA loaded ",ga_code," ",ga_cookie_domain); });