I'm trying to serve static content from a cookieless subdomain s.mydomain.org.uk, so that image/css requests from pages at www.mydomain.org.uk don't get sent with needless cookie data. The trouble is that Google Analytics insists on adding its cookies (_utma, _utmz) to those requests anyway! My code is:
<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("xxxx");
pageTracker._setDomainName("www.mydomain.org.uk");
pageTracker._trackPageview();
} catch (err) { }
</script>
Any ideas?