PageSourceSearch

https://www.alljobs.co.il/Statistics/GoogleAnalytics_Head.js?ver=01_07_2021_100948

js alljobs.co.il collected 2026-09-24 09:45:24 UTC 3,315 bytes, 74 lines download raw bytes

1// data Layer for google tag manager
2dataLayer = [];
3// END data Layer for google tag manager
4var domainPrefix = 'https://';
5domainPrefix = (document.location.protocol == 'https:') ? 'https://' : 'http://';
6
7var _gaq = _gaq || [];
8_gaq.push(['_setAccount', 'UA-259486-1']);
9_gaq.push(['_setDomainName', 'alljobs.co.il']);
10// trackPageview is removed ON PURPOSE - no worry it just relocated
11(function () {
12    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
13    ga.src = domainPrefix + 'stats.g.doubleclick.net/dc.js';
14    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
15})();
16
17// this for google optimize ( Modified Analytics tracking code with page-hiding ) //
18// Page-hiding snippet (recommended)  google optimize //
19(function(a,s,y,n,c,h,i,d,e){s.className+=' '+y;h.start=1*new Date;
20    h.end=i=function(){s.className=s.className.replace(RegExp(' ?'+y),'')};
21    (a[n]=a[n]||[]).hide=h;setTimeout(function(){i();h.end=null},c);h.timeout=c;
22})(window,document.documentElement,'async-hide','dataLayer',4000,
23{'GTM-MDDT8CH':true});
24// Modified Analytics tracking code with Optimize plugin //
25
26(function (i, s, o, g, r, a, m) {
27    i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
28        (i[r].q = i[r].q || []).push(arguments)
29    }, i[r].l = 1 * new Date(); a = s.createElement(o),
30m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
31})(window, document, 'script', domainPrefix + 'www.google-analytics.com/analytics.js', 'ga');
32// send pageview is removed ON PURPOSE - no worry it just relocated
33
34// Creates a temporary html elemnt to try and detect adblock is runing.
35//also try to check if our script was able to run- /Statistics/advertisement.js
36try{
37    ga('provide', 'adblockTracker', function (tracker, opts) {
38        var adblockerexist = 0;
39    
40        
41            var ad = document.createElement('ins');
42            ad.className = 'AdSense';
43            ad.style.display = 'block';
44            ad.style.position = 'absolute';
45            ad.style.top = '-1px';
46            ad.style.height = '1px';
47            document.body.appendChild(ad);
48            adblockerexist = (!ad.clientHeight == true ? 1 : 0) || ((window.adBlockerNotExist == true ? 0 : 1));			
49            document.body.removeChild(ad);
50            tracker.set('dimension' + opts.dimensionIndex, adblockerexist.toString());
51    });
52}catch(err){}
53
54
55var userID_ga = '';
56try {
57    var match_ga = document.cookie.match(new RegExp('PopulateConfirmNew_.{1,}' + '=(.*?)(;|$)'));
58    if (match_ga) {
59        userID_ga = match_ga[0].split(';')[0].split('=')[1];
60    }
61} catch (e) { }
62
63if (userID_ga != undefined && userID_ga != '' && userID_ga != '1')
64    ga('create', 'UA-259486-10', 'auto', { 'userId': userID_ga, 'allowLinker': true });
65else
66    ga('create', 'UA-259486-10', 'auto', { 'allowLinker': true });
67
68ga('require', 'linker');
69ga('linker:autoLink', ['askoli.co.il', 'alljobsmatch.co.il']); // cross domain askoli + AllJobsMatch
70
71ga('require', 'displayfeatures'); // remarketing
72ga('require', 'GTM-MDDT8CH'); // google optimize
73
74try { ga('require', 'adblockTracker', { dimensionIndex: 13 }); } catch (err) { } // add block tracker

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.