Tracking referrals between profiles on the same domain in Google Analytics

Posted by doctororange on Pro Webmasters See other posts from Pro Webmasters or by doctororange
Published on 2012-04-16T00:14:18Z Indexed on 2012/04/16 5:47 UTC
Read the original article Hit count: 236

Filed under:

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.

© Pro Webmasters or respective owner

Related posts about google-analytics