MediaWiki:Common.js: Difference between revisions

From QME Wiki
Jump to navigation Jump to search
Created page with "// Google Analytics 4 tracking via MediaWiki:Common.js (function() { var gaScript = document.createElement('script'); gaScript.async = true; gaScript.src = 'https://www.googletagmanager.com/gtag/js?id=G-392566862'; document.head.appendChild(gaScript); window.dataLayer = window.dataLayer || []; function gtag(){ dataLayer.push(arguments); } window.gtag = gtag; gtag('js', new Date()); gtag('config', 'G-392566862'); })();"
(No difference)

Revision as of 00:40, 23 July 2025

// Google Analytics 4 tracking via MediaWiki:Common.js
(function() {
  var gaScript = document.createElement('script');
  gaScript.async = true;
  gaScript.src = 'https://www.googletagmanager.com/gtag/js?id=G-392566862';
  document.head.appendChild(gaScript);

  window.dataLayer = window.dataLayer || [];
  function gtag(){ dataLayer.push(arguments); }
  window.gtag = gtag;

  gtag('js', new Date());
  gtag('config', 'G-392566862');
})();
By using this site, you agree to the Terms of Use. © 1996–2025 The Quincy Examiner / MTB. All rights reserved.