I have 4 domains pointing to the same drupal installation and I would like to track all of them as one.
I've checked google howto's and ended up inserting this code

pageTracker._setDomainName(".mysite1.com");
pageTracker._setDomainName(".mysite1.it");
pageTracker._setDomainName(".mysite2.com");
pageTracker._setDomainName(".mysite2.it");

in the Code snippet (before) of Custom javascript code settings.
After a week, nothing is tracked.
What's wrong with this? Can you suggest me something?
Thanks in advance.

Comments

hass’s picture

Status: Active » Closed (duplicate)

This won't work. See http://code.google.com/intl/de-DE/apis/analytics/docs/gaJSApiDomainDirec... on the very bottom pageTracker._setDomainName("none");. Your case is also a duplicate of an unimplemented feature, see #339235: Add multi/cross domain tracking, please.