MediaWiki:Common.js: Difference between revisions

From VRChat Wiki
(Add analytics snipper to Common.js)
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
// Lightweight analytics by Plausible.io
// Lightweight analytics by Plausible.io
!function(t) {var e = t.createElement("script");e.setAttribute("defer","defer"),e.setAttribute("data-domain","wiki.vrchat.com"),e.src="https://plausible.io/js/script.js",t.head.appendChild(e)}(document);
!function(t) {var e = t.createElement("script");e.setAttribute("defer","defer"),e.setAttribute("data-domain","wiki.vrchat.com"),e.src="https://plausible.io/js/script.js",t.head.appendChild(e)}(document);
importScript("MediaWiki:Template:MainPageInfopush.js");

Latest revision as of 09:08, 29 July 2024

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

// Lightweight analytics by Plausible.io
!function(t) {var e = t.createElement("script");e.setAttribute("defer","defer"),e.setAttribute("data-domain","wiki.vrchat.com"),e.src="https://plausible.io/js/script.js",t.head.appendChild(e)}(document);

importScript("MediaWiki:Template:MainPageInfopush.js");