MediaWiki:Common.js: Difference between revisions
(Created page with "→Any JavaScript here will be loaded for all users on every page load.: <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-7CBN4NB825"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-7CBN4NB825'); </script>") |
mNo edit summary |
||
Line 2: | Line 2: | ||
<!-- Google tag (gtag.js) --> | <!-- Google tag (gtag.js) --> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id= | <script async src="https://www.googletagmanager.com/gtag/js?id=UA-137691125-2"></script> | ||
<script> | <script> | ||
window.dataLayer = window.dataLayer || []; | window.dataLayer = window.dataLayer || []; | ||
Line 8: | Line 8: | ||
gtag('js', new Date()); | gtag('js', new Date()); | ||
gtag('config', ' | gtag('config', 'UA-137691125-2'); | ||
</script> | </script> |
Revision as of 22:48, 14 April 2023
/* Any JavaScript here will be loaded for all users on every page load. */ <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-137691125-2"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-137691125-2'); </script>