You are reviewing MouseStats documentation: Take a look to the product!
< back

Tracking Script Modification

The tracking script is unique for each account. Also, it is a single and global code, so you should not include it multiple times in a single web page. It will handle all the services.


This is a sample code and the values will be different to make it connected to your account. You need to get your own customized code in your panel overview page.

<!--  MouseStats:Begin  -->
<script type="text/javascript">
var MouseStats_Commands = MouseStats_Commands ? MouseStats_Commands : [];
(function () {
if(document.getElementById('MouseStatsTrackingScript') == undefined) {
    var mousestats_script = document.createElement('script');
    mousestats_script.type = 'text/javascript';
    mousestats_script.id = 'MouseStatsTrackingScript';
    mousestats_script.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www2') + '.mousestats.com/js/a/b/abcdxxxxxxxxxxxxxxx.js?' + Math.floor(new Date().getTime()/600000);
    mousestats_script.async = true;
    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(mousestats_script);
} })();
</script>
<!--  MouseStats:End  -->