MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 817: Line 817:
}
}
};
};
$(flattrButton.init);


// Google Analytics; do not track if user is on Tor.
// Google Analytics/Flattr; do not track if user is on Tor.
if(location.host.indexOf('.onion') == -1) {
if(location.host.indexOf('.onion') == -1) {
$(flattrButton.init);
var _gaq = _gaq || [];
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-22928841-2']);
_gaq.push(['_setAccount', 'UA-22928841-2']);

Navigation menu