MediaWiki:Common.js: Difference between revisions
From SprezzOSWiki
Created page with " var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-28599323-1']); _gaq.push(['_setDomainName', 'sprezzatech.com']); _gaq.push(['_trackPageview']); (function() { ..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<script type="text/javascript"> | |||
var _gaq = _gaq || []; | var _gaq = _gaq || []; | ||
_gaq.push(['_setAccount', 'UA-28599323-1']); | _gaq.push(['_setAccount', 'UA-28599323-1']); | ||
| Line 8: | Line 9: | ||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | ||
})(); | })(); | ||
/* <![CDATA[ */ | |||
(function() { | |||
var s = document.createElement('script'); | |||
var t = document.getElementsByTagName('script')[0]; | |||
s.type = 'text/javascript'; | |||
s.async = true; | |||
s.src = '//api.flattr.com/js/0.6/load.js?mode=auto'; | |||
t.parentNode.insertBefore(s, t); | |||
})(); | |||
/* ]]> */ | |||
</script> | |||
Revision as of 03:06, 30 January 2013
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-28599323-1']);
_gaq.push(['_setDomainName', 'sprezzatech.com']);
_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);
})();
/* <![CDATA[ */
(function() {
var s = document.createElement('script');
var t = document.getElementsByTagName('script')[0];
s.type = 'text/javascript';
s.async = true;
s.src = '//api.flattr.com/js/0.6/load.js?mode=auto';
t.parentNode.insertBefore(s, t);
})();
/* ]]> */
</script>