Difference between revisions of "MediaWiki:Common.js"

From YateBTS
Jump to: navigation, search
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. */
  
<script type="text/javascript">
 
 
var _ss = _ss || [];
 
var _ss = _ss || [];
 
_ss.push(['_setDomain', 'https://koi-3QNDFUW20C.marketingautomation.services/net']);
 
_ss.push(['_setDomain', 'https://koi-3QNDFUW20C.marketingautomation.services/net']);
Line 14: Line 13:
 
     scr.parentNode.insertBefore(ss, scr);
 
     scr.parentNode.insertBefore(ss, scr);
 
})();
 
})();
</script>
 

Revision as of 14:34, 29 March 2018

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

var _ss = _ss || [];
_ss.push(['_setDomain', 'https://koi-3QNDFUW20C.marketingautomation.services/net']);
_ss.push(['_setAccount', 'KOI-3ZL63C1W08']);
_ss.push(['_trackPageView']);
(function() {
    var ss = document.createElement('script');
    ss.type = 'text/javascript'; ss.async = true;

    ss.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'koi-3QNDFUW20C.marketingautomation.services/client/ss.js?ver=1.1.1';
    var scr = document.getElementsByTagName('script')[0];
    scr.parentNode.insertBefore(ss, scr);
})();