You can avoid conflicting cookies by setting a different domain for Google analytics.
<script type="text/javascript"> //<![CDATA[ var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-NNNN-1']); // primary profile _gaq.push(['_setDomainName', 'www.domain.com']); _gaq.push(['_trackPageview']); _gaq.push(function() { // create the second async tracker _gaq._createAsyncTracker('UA-NNNN-2', 'blogTracker'); }); // secondary profile (this is the default domain setup if not specified) _gaq.push(['blogTracker._setDomainName', 'domain.com']); _gaq.push(['blogTracker._trackPageview']); //]]> </script>
This will save the cookies separately.
Note. I use this setting to track events in the second profile to maintain the accuracy of the failure rates. The second profile tracking code is only used on my blog, so it is not a complete profile.
source share