Difference between revisions of "MediaWiki:Common.js"

From Battery Handling Systems
Jump to navigation Jump to search
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-1GS8YNSJYW"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-1GS8YNSJYW'); </script>")
 
Line 5: Line 5:


<script>
<script>
   window.dataLayer = window.dataLayer || [];
   window.dataLayer = window.dataLayer || [];
   function gtag(){dataLayer.push(arguments);}
   function gtag(){dataLayer.push(arguments);}
   gtag('js', new Date());
   gtag('js', new Date());


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

Revision as of 14:29, 15 April 2022

/* Any JavaScript here will be loaded for all users on every page load. */
<!-- Global site tag (gtag.js) - Google Analytics -->

<script async src="https://www.googletagmanager.com/gtag/js?id=G-1GS8YNSJYW"></script>

<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

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