vendor: 6,811 bytes, lines 1-184
1/*global tarteaucitron, ga, Shareaholic, stLight, clicky, top, google, Typekit, FB, ferankReady, IN, stButtons, twttr, PCWidget*/ 2/*jslint regexp: true, nomen: true*/ 3 4// googleadwordsconversion 5tarteaucitron.services.googleadwordsconversion = { 6 "key": "googleadwordsconversion", 7 "type": "ads", 8 "name": "Google Adwords (conversion)", 9 "uri": "https://www.google.com/settings/ads", 10 "needConsent": true, 11 "cookies": [], 12 "js": function () { 13 "use strict"; 14 if (tarteaucitron.user.adwordsconversionId === undefined) { 15 return; 16 } 17 18 tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () { 19 window.google_trackConversion({ 20 google_conversion_id: tarteaucitron.user.adwordsconversionId, 21 google_conversion_label: tarteaucitron.user.adwordsconversionLabel, 22 google_conversion_language: tarteaucitron.user.adwordsconversionLanguage, 23 google_conversion_format: tarteaucitron.user.adwordsconversionFormat, 24 google_conversion_color: tarteaucitron.user.adwordsconversionColor, 25 google_conversion_value: tarteaucitron.user.adwordsconversionValue, 26 google_conversion_currency: tarteaucitron.user.adwordsconversionCurrency, 27 google_custom_params: { 28 parameter1: tarteaucitron.user.adwordsconversionCustom1, 29 parameter2: tarteaucitron.user.adwordsconversionCustom2 30 } 31 }); 32 }); 33 } 34}; 35 36// googleadwordsremarketing 37tarteaucitron.services.googleadwordsremarketing = { 38 "key": "googleadwordsremarketing", 39 "type": "ads", 40 "name": "Google Adwords (remarketing)", 41 "uri": "https://www.google.com/settings/ads", 42 "needConsent": true, 43 "cookies": [], 44 "js": function () { 45 "use strict"; 46 if (tarteaucitron.user.adwordsremarketingId === undefined) { 47 return; 48 } 49 50 tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () { 51 window.google_trackConversion({ 52 google_conversion_id: tarteaucitron.user.adwordsremarketingId, 53 google_remarketing_only: true 54 }); 55 }); 56 } 57}; 58 59// google analytics (old) 60tarteaucitron.services.gajs = { 61 "key": "gajs", 62 "type": "analytic", 63 "name": "Google Analytics (ga.js)", 64 "uri": "https://support.google.com/analytics/answer/6004245", 65 "needConsent": true, 66 "cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz'], 67 "js": function () { 68 "use strict"; 69 window._gaq = window._gaq || []; 70 window._gaq.push(['_setAccount', tarteaucitron.user.gajsUa]); 71 72 if (tarteaucitron.user.gajsAnonymizeIp) { 73 window._gaq.push (['_gat._anonymizeIp']); 74 } 75 76 if (tarteaucitron.user.gajsPageView) { 77 window._gaq.push(['_trackPageview, ' + tarteaucitron.user.gajsPageView]); 78 } else { 79 window._gaq.push(['_trackPageview']); 80 } 81 82 tarteaucitron.addScript('//www.google-analytics.com/ga.js', '', function () { 83 if (typeof tarteaucitron.user.gajsMore === 'function') { 84 tarteaucitron.user.gajsMore(); 85 } 86 }); 87 } 88}; 89 90// google analytics 91tarteaucitron.services.analytics = { 92 "key": "analytics", 93 "type": "analytic", 94 "name": "Google Analytics (universal)", 95 "uri": "https://support.google.com/analytics/answer/6004245", 96 "needConsent": true, 97 "cookies": ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz'], 98 "js": function () { 99 "use strict"; 100 window.GoogleAnalyticsObject = 'ga'; 101 window.ga = window.ga || function () { 102 window.ga.q = window.ga.q || []; 103 window.ga.q.push(arguments); 104 }; 105 window.ga.l = new Date(); 106 tarteaucitron.addScript('https://www.google-analytics.com/analytics.js', '', function () { 107 var uaCreate = {'cookieExpires': 34128000}; 108 tarteaucitron.extend(uaCreate, tarteaucitron.user.analyticsUaCreate || {}); 109 ga('create', tarteaucitron.user.analyticsUa, uaCreate); 110 111 if (tarteaucitron.user.analyticsAnonymizeIp) { 112 ga('set', 'anonymizeIp', true); 113 } 114 115 if (typeof tarteaucitron.user.analyticsPrepare === 'function') { 116 tarteaucitron.user.analyticsPrepare(); 117 } 118 119 if (tarteaucitron.user.analyticsPageView) { 120 ga('send', 'pageview', tarteaucitron.user.analyticsPageView); 121 } else { 122 ga('send', 'pageview'); 123 } 124 125 if (typeof tarteaucitron.user.analyticsMore === 'function') { 126 tarteaucitron.user.analyticsMore(); 127 } 128 }); 129 } 130}; 131 132// google analytics 133tarteaucitron.services.gtag = { 134 "key": "gtag", 135 "type": "analytic", 136 "name": "Google Analytics (gtag.js)", 137 "uri": "https://support.google.com/analytics/answer/6004245", 138 "needConsent": true, 139 "cookies": (function () { 140 // Add _gat_gtag_UA_XXXXXXX_XX cookie to cookies array 141 var gatGtagUaCookie = '_gat_gtag_' + tarteaucitron.user.gtagUa; 142 gatGtagUaCookie = gatGtagUaCookie.replace(/-/g, '_'); 143 return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', gatGtagUaCookie]; 144 })(), 145 "js": function () { 146 "use strict"; 147 window.dataLayer = window.dataLayer || []; 148 tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + tarteaucitron.user.gtagUa, '', function () { 149 window.gtag = function gtag(){dataLayer.push(arguments);} 150 gtag('js', new Date()); 151 gtag('config', tarteaucitron.user.gtagUa); 152 153 if (typeof tarteaucitron.user.gtagMore === 'function') { 154 tarteaucitron.user.gtagMore(); 155 } 156 }); 157 } 158}; 159 160// google maps 161tarteaucitron.services.googlemaps = { 162 "key": "googlemaps", 163 "type": "api", 164 "name": "Google Maps", 165 "uri": "https://adssettings.google.com/", 166 "needConsent": true, 167 "cookies": [], 168 "js": function () { 169 "use strict"; 170 var mapOptions, 171 map, 172 uniqIds = [], 173 i; 174 175 if (tarteaucitron.user.mapscallback === undefined) { 176 tarteaucitron.user.mapscallback = 'tac_googlemaps_callback'; 177 } 178 179 // Add Google Maps libraries if any (https://developers.google.com/maps/documentation/javascript/libraries) 180 var googleMapsLibraries = ''; 181 if (tarteaucitron.user.googlemapsLibraries) { 182 googleMapsLibraries = '&libraries=' + tarteaucitron.user.googlemapsLibraries; 183 } 184
185 tarteaucitron.addScript('//maps.googleapis.com/maps/api/js?v=3.exp&key=' + tarteaucitron.user.googlemapsKey + '&callback='+tarteaucitron.user.mapscallback + googleMapsLibraries); 186 187 window.tac_googlemaps_callback = function () { 188 tarteaucitron.fallback(['googlemaps-canvas'], function (x) { 189 var uniqId = '_' + Math.random().toString(36).substr(2, 9); 190 uniqIds.push(uniqId); 191 return '<div id="' + uniqId + '" zoom="' + x.getAttribute('zoom') + '" latitude="' + x.getAttribute('latitude') + '" longitude="' + x.getAttribute('longitude') + '" style="width:' + x.offsetWidth + 'px;height:' + x.offsetHeight + 'px"></div>'; 192 }); 193 194 for (i = 0; i < uniqIds.length; i += 1) { 195 mapOptions = { 196 zoom: parseInt(document.getElementById(uniqIds[i]).getAttribute('zoom'), 10), 197 center: new google.maps.LatLng(parseFloat(document.getElementById(uniqIds[i]).getAttribute('latitude'), 10), parseFloat(document.getElementById(uniqIds[i]).getAttribute('longitude'), 10)) 198 }; 199 map = new google.maps.Map(document.getElementById(uniqIds[i]), mapOptions); 200 new google.maps.Marker({position:{lat:parseFloat(document.getElementById(uniqIds[i]).getAttribute('latitude'), 10),lng:parseFloat(document.getElementById(uniqIds[i]).getAttribute('longitude'), 10)},map:map}); 201 } 202 }; 203 }, 204 "fallback": function () { 205 "use strict"; 206 var id = 'googlemaps'; 207 tarteaucitron.fallback(['googlemaps-canvas'], tarteaucitron.engage(id)); 208 } 209}; 210 211// googlemaps search 212tarteaucitron.services.googlemapssearch = { 213 "key": "googlemapssearch", 214 "type": "api", 215 "name": "Google Maps Search API", 216 "uri": "https://adssettings.google.com/", 217 "needConsent": true, 218 "cookies": ['nid'], 219 "js": function () { 220 "use strict"; 221 tarteaucitron.fallback(['googlemapssearch'], function (x) { 222 var width = x.getAttribute("width"), 223 height = x.getAttribute("height"), 224 // url = x.getAttribute("data-url"); 225 query = escape(x.getAttribute("data-search")), 226 key = x.getAttribute("data-api-key"); 227 228 // return '<iframe src="' + url + '" width="' + width + '" height="' + height + '" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>'; 229 return '<iframe width="' + width +'" height="' + height + '" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?q='+query+'&key='+key+'" allowfullscreen></iframe> ' 230 }); 231 }, 232 "fallback": function () { 233 "use strict"; 234 var id = 'googlemapssearch'; 235 tarteaucitron.fallback(['googlemapssearch'], function (elem) { 236 elem.style.width = elem.getAttribute('width') + 'px'; 237 elem.style.height = elem.getAttribute('height') + 'px'; 238 return tarteaucitron.engage(id); 239 }); 240 } 241}; 242 243// googlemaps embed iframe 244tarteaucitron.services.googlemapsembed = { 245 "key": "googlemapsembed", 246 "type": "api", 247 "name": "Google Maps Embed", 248 "uri": "https://adssettings.google.com/", 249 "needConsent": true, 250 "cookies": ['apisid', 'hsid', 'nid', 'sapisid', 'sid', 'sidcc', 'ssid', '1p_jar'], 251 "js": function () { 252 "use strict"; 253 tarteaucitron.fallback(['googlemapsembed'], function (x) { 254 var width = tarteaucitron.getElemWidth(x), 255 height = tarteaucitron.getElemHeight(x), 256 url = x.getAttribute("data-url"); 257 258 return '<iframe src="' + url + '" width="' + width + '" height="' + height + '" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>'; 259 }); 260 }, 261 "fallback": function () { 262 "use strict"; 263 var id = 'googlemapsembed'; 264 tarteaucitron.fallback(['googlemapsembed'], function (elem) { 265 elem.style.width = tarteaucitron.getElemWidth(elem) + 'px'; 266 elem.style.height = tarteaucitron.getElemHeight(elem) + 'px'; 267 return tarteaucitron.engage(id); 268 }); 269 } 270}; 271 272// google tag manager 273tarteaucitron.services.googletagmanager = {
274 "key": "googletagmanager", 275 "type": "api", 276 "name": "Google Tag Manager", 277 "uri": "https://adssettings.google.com/", 278 "needConsent": true, 279 "cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'], 280 "js": function () { 281 "use strict"; 282 if (tarteaucitron.user.googletagmanagerId === undefined) { 283 return; 284 } 285 window.dataLayer = window.dataLayer || []; 286 window.dataLayer.push({ 287 'gtm.start': new Date().getTime(), 288 event: 'gtm.js' 289 }); 290 tarteaucitron.addScript('https://www.googletagmanager.com/gtm.js?id=' + tarteaucitron.user.googletagmanagerId); 291 } 292}; 293 294// google tag manager multiple 295tarteaucitron.services.multiplegoogletagmanager = { 296 "key": "multiplegoogletagmanager", 297 "type": "api", 298 "name": "Google Tag Manager", 299 "uri": "https://adssettings.google.com/", 300 "needConsent": true, 301 "cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'], 302 "js": function () { 303 "use strict"; 304 if (tarteaucitron.user.multiplegoogletagmanagerId === undefined) { 305 return; 306 } 307 window.dataLayer = window.dataLayer || []; 308 window.dataLayer.push({ 309 'gtm.start': new Date().getTime(), 310 event: 'gtm.js' 311 }); 312 313 tarteaucitron.user.multiplegoogletagmanagerId.forEach(function (id) { 314 tarteaucitron.addScript('https://www.googletagmanager.com/gtm.js?id=' + id); 315 }); 316 317 } 318}; 319 320// google webfonts 321tarteaucitron.services.googlefonts = { 322 "key": "googlefonts", 323 "type": "api", 324 "name": "Google Webfonts", 325 "uri": "https://www.google.com/intl/de/policies/privacy/", 326 "needConsent": true, 327 "cookies": [], 328 "js": function () { 329 "use strict"; 330 if (tarteaucitron.user.googleFonts === undefined) { 331 return; 332 } 333 tarteaucitron.addScript('//ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js', '', function () { 334 WebFont.load({ 335 google: { 336 families: tarteaucitron.user.googleFonts 337 } 338 }); 339 }); 340 } 341}; 342 343// jsapi 344tarteaucitron.services.jsapi = { 345 "key": "jsapi", 346 "type": "api", 347 "name": "Google jsapi", 348 "uri": "https://policies.google.com/privacy", 349 "needConsent": true, 350 "cookies": [], 351 "js": function () { 352 "use strict"; 353 tarteaucitron.addScript('//www.google.com/jsapi'); 354 } 355}; 356 357 358// google analytics multiple 359tarteaucitron.services.multiplegtag = { 360 "key": "multiplegtag", 361 "type": "analytic", 362 "name": "Google Analytics (gtag.js)", 363 "uri": "https://support.google.com/analytics/answer/6004245", 364 "needConsent": true, 365 "cookies": (function () { 366 367 var cookies = ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz']; 368 369 if (tarteaucitron.user.multiplegtagUa !== undefined) { 370 tarteaucitron.user.multiplegtagUa.forEach(function(ua) { 371 cookies.push('_gat_gtag_' + ua.replace(/-/g, '_')); 372 }); 373 } 374 375 return cookies; 376 })(), 377 "js": function () { 378 "use strict"; 379 window.dataLayer = window.dataLayer || []; 380 381 tarteaucitron.user.multiplegtagUa.forEach(function(ua) { 382 console.log("accepted "+ua); 383 384 tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + ua, '', function () { 385 window.gtag = function gtag(){dataLayer.push(arguments);} 386 gtag ('set', 'allow_ad_personalization_signals', false); 387 gtag('js', new Date()); 388 gtag('config', ua); 389 console.log("set "+ua); 390 }); 391 }); 392 } 393};
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.