Difference between revisions of "MediaWiki:Common.js"

From BSC Policy
Jump to navigationJump to search
 
(5 intermediate revisions by the same user not shown)
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. */
mw.loader.load( "https://www.googletagmanager.com/gtag/js?id=UA-147071460-1" );
 
<script>
 
  window.dataLayer = window.dataLayer || [];
 
  function gtag(){dataLayer.push(arguments);}
 
  gtag('js', new Date());
 
 
  gtag('config', 'UA-147071460-1');
 
</script>
 

Latest revision as of 16:35, 3 September 2019

/* Any JavaScript here will be loaded for all users on every page load. */