Loading...
 
Features / Usability

Features / Usability


Add Google Analytics

posts: 7

Hi all,


I am just setup an account google Analytics, i want to add it to my sites....

How can i do ?

I added Look&Feel -> General Layout Options -> Custom End of Code: with content

{literal}


var _gaq = _gaq || [];
_gaq.push('_setAccount', 'UA-xxxxxxxx-x');
_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);
})();


{/literal}

is this right ?

thanks all for read

posts: 7
can u help me ?