User:LLarson/vector.js: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Adding Google Analytics for easier access to my Wikipedia viewing history
 
remove self-analytics
Tag: Blanking
 
Line 1: Line 1:
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-185093-1']);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);

(function () {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();

Latest revision as of 13:29, 30 July 2023