MediaWiki:Common.js: Difference between revisions

MediaWiki interface page
(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-W42FTBJ19P"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-W42FTBJ19P'); </script>")
 
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. */
<!-- Google tag (gtag.js) -->
window.dataLayer = window.dataLayer || [];
<script async src="https://www.googletagmanager.com/gtag/js?id=G-W42FTBJ19P"></script>
function gtag(){dataLayer.push(arguments);}
<script>
gtag('js', new Date());
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());


  gtag('config', 'G-W42FTBJ19P');
gtag('config', 'G-W42FTBJ19P');
</script>

Revision as of 20:29, 14 June 2024

/* Any JavaScript here will be loaded for all users on every page load. */
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-W42FTBJ19P');