Difference between revisions of "MediaWiki:Common.js"
From MintHCM Wiki
(Created page with "→Any JavaScript here will be loaded for all users on every page load.: (function(w,d,t,u,n,a,m){w['MauticTrackingObject']=n; w[n]=w[n]||function(){(w[n].q=w[n]...") |
m |
||
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. */ | ||
− | + | (function(w,d,t,u,n,a,m){w['MauticTrackingObject']=n; | |
− | + | w[n]=w[n]||function(){(w[n].q=w[n].q||[]).push(arguments)},a=d.createElement(t), | |
− | + | m=d.getElementsByTagName(t)[0];a.async=1;a.src=u;m.parentNode.insertBefore(a,m) | |
− | + | })(window,document,'script','https://ma.minthcm.cloud/mtc.js','mt'); | |
− | + | mt('send', 'pageview'); |
Revision as of 16:28, 20 February 2020
/* Any JavaScript here will be loaded for all users on every page load. */
(function(w,d,t,u,n,a,m){w['MauticTrackingObject']=n;
w[n]=w[n]||function(){(w[n].q=w[n].q||[]).push(arguments)},a=d.createElement(t),
m=d.getElementsByTagName(t)[0];a.async=1;a.src=u;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://ma.minthcm.cloud/mtc.js','mt');
mt('send', 'pageview');