Tracking referrals between profiles on the same domain in Google Analytics
- by doctororange
I have a website at mydomain.com that uses Analytics.
I have a blog that resides at mydomain.com/blog/, which also uses Analytics
They are on different profiles. The main site uses something like:
_gaq.push(['_setAccount', 'UA-XXXXXXXX-6']);
While the blog uses:
_gaq.push(['_setAccount', 'UA-XXXXXXXX-7']);
_gaq.push(['_setCookiePath', '/blog/']);
My issues is that this seems not to track referrals from the blog through to the main site when, for instance, the logo which links to the main site is clicked.
Ideally, I would like the clicks of this logo to report that the source was mydomain.com/blog/, but because they are at the same domain they seem to register as direct traffic.
Have I missed a step in my configuration, or will I have to resort to linking to something like mydomain.com?ref=blog?
Thank you.