Suggestion for improvement

I'm usinf Multisite analytics for a while now and a user report a problem using this plugin.

In fact, the generated code from the plugin is the following :

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA–19573900–1']);
_gaq.push(['_setDomainName', '']);
_gaq.push(['_setAllowHash', false]);
_gaq.push(['b._setAccount', 'UA-30445037-1']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

you can see the "." before

According to the test made by my user, it seems that the "." before the subdomain of the installation create errors with the analytics because of a problem with the cookie.

I quote : "all visitors are counted as new visitors, bounce rate is increased to 100% and there are no management sessions any more , so goals URL funnels, goals by indirect social network, etc..."

It might be that after fews test, so it is possible to add an option in the plugin network management (just a radio button or checkbox ) to check to make the difference between the case of an installation to the domain or in a subdomain.

this code should work with a subdomain installation but I work with subfolders.

Thanks for your further reply.

Kind regards,