MediaWiki:Common.js: Difference between revisions

MediaWiki interface page
(added google analytics)
Tag: Reverted
No edit summary
Tag: Reverted
Line 11: Line 11:




<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-44N0FGBNJR"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-44N0FGBNJR"></script>
<script>
<script>

Revision as of 20:00, 15 December 2024

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

src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>

  kofiWidgetOverlay.draw('infrawiki', {
    'type': 'floating-chat',
    'floating-chat.donateButton.text': 'Support me',
    'floating-chat.donateButton.background-color': '#d9534f',
    'floating-chat.donateButton.text-color': '#fff'
  });


<script async src="https://www.googletagmanager.com/gtag/js?id=G-44N0FGBNJR"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

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