Actions

MediaWiki

Difference between revisions of "Common.js"

From DT Online

(Get rid of code to reorder categories/buyers guide)
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 -->
 +
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-65947474-1"></script>
 +
<script>
 +
  window.dataLayer = window.dataLayer || [];
 +
  function gtag(){dataLayer.push(arguments);}
 +
  gtag('js', new Date());
 +
 +
  gtag('config', 'UA-65947474-1');
 +
</script>

Revision as of 09:43, 13 November 2019

/* 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=UA-65947474-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-65947474-1');
</script>