MediaWiki:Common.js: Difference between revisions
From Glossary of Meteorology
Ametsocadmin (talk | contribs) No edit summary |
Ametsocadmin (talk | contribs) No edit summary |
||
Line 16: | Line 16: | ||
/* Google Analytics Ends */ | /* Google Analytics Ends */ | ||
/* Crazy Egg Begins | /* Crazy Egg Begins */ | ||
setTimeout(function() { var a = document.createElement("script"); var b = document.getElementsByTagName("script")[0]; | setTimeout(function() { var a = document.createElement("script"); var b = document.getElementsByTagName("script")[0]; | ||
a.src = | a.src = "https://script.crazyegg.com/pages/scripts/0021/7498.js?" + Math.floor(new Date().getTime() / 3600000); | ||
a.async = true; | a.async = true; | ||
a.type = "text/javascript"; | a.type = "text/javascript"; | ||
b.parentNode.insertBefore(a, b) }, 1); | b.parentNode.insertBefore(a, b) }, 1); | ||
Crazy Egg Ends */ | /* Crazy Egg Ends */ |
Revision as of 06:32, 25 November 2020
/* Any JavaScript here will be loaded for all users on every page load. */ /* Google Analytics Begins */ (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-64878395-2', 'auto', { 'allowLinker': true }); ga('require', 'linker'); ga('linker:autoLink', ['ams.confex.com, climatepolicy.org, livingontherealworld.org, amspolicyforum.org']); ga('send', 'pageview'); /* Google Analytics Ends */ /* Crazy Egg Begins */ setTimeout(function() { var a = document.createElement("script"); var b = document.getElementsByTagName("script")[0]; a.src = "https://script.crazyegg.com/pages/scripts/0021/7498.js?" + Math.floor(new Date().getTime() / 3600000); a.async = true; a.type = "text/javascript"; b.parentNode.insertBefore(a, b) }, 1); /* Crazy Egg Ends */