MediaWiki:Common.js: Difference between revisions

From Stable Diffusion Wiki
Jump to navigation Jump to search
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-ZW3GMM56BZ"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-ZW3GMM56BZ'); </script>")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
window.dataLayer = window.dataLayer || [];
<!-- Google tag (gtag.js) -->
function gtag(){dataLayer.push(arguments);}
<script async src="https://www.googletagmanager.com/gtag/js?id=G-ZW3GMM56BZ"></script>
gtag('js', new Date());
<script>
gtag('config', 'G-ZW3GMM56BZ');
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
 
  gtag('config', 'G-ZW3GMM56BZ');
</script>

Latest revision as of 00:48, 19 August 2023

window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-ZW3GMM56BZ');