MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
/*<!-- Global site tag (gtag.js) - Google Analytics -->*/ | /*<!-- Global site tag (gtag.js) - Google Analytics -->*/ | ||
async src="https://www.googletagmanager.com/gtag/js?id=UA-11697408-11"> | |||
window.dataLayer = window.dataLayer || []; | window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | function gtag(){dataLayer.push(arguments);} | ||
Line 8: | Line 8: | ||
gtag('config', 'UA-11697408-11'); | gtag('config', 'UA-11697408-11'); | ||
Revision as of 06:36, 24 February 2020
/* Any JavaScript here will be loaded for all users on every page load. */ /*<!-- Global site tag (gtag.js) - Google Analytics -->*/ async src="https://www.googletagmanager.com/gtag/js?id=UA-11697408-11"> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-11697408-11');