MediaWiki:Common.js: Difference between revisions

From VincentWiki
No edit summary
Tag: Reverted
m (added js for G-4 Analytics)
Tag: Reverted
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. */
body {font-size: 16px; }
body {font-size: 16px; }
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-PK7VG8XCQG"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'G-PK7VG8XCQG');
</script>

Revision as of 21:06, 3 May 2023

/* Any JavaScript here will be loaded for all users on every page load. */
body {font-size: 16px; }
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-PK7VG8XCQG"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

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