Mobile app version of vmapp.org
Login or Join
Cody1181609

: Two different domains as one user session in Google Analytics I have two websites that are run as the same service. Each domain offers articles from a different market. At the top of each

@Cody1181609

Posted in: #Domains #GoogleAnalytics

I have two websites that are run as the same service. Each domain offers articles from a different market. At the top of each page the two domains are shown as menu options. If a user clicks one they can switch to the other domain.

See here: www.cgtag.com
Each domain has a different Google Analytics account, and when a user switches domains Google is counting this as a new session. It's listing the other domain as the "referral" for that new session. When the user switches back to the first domain Google is counting this as a returning visitor.

This is messing up my reports. Showing returning visitors values that are higher than reality. It's also increasing hits on landing pages when the user switches, and listing the other domain as a referral site.

I've found tips on how to list two domains as one website, but that results in merging the data. I want to keep the two domains separate so that I can track each ones performance, but I don't want to count domain changes as new sessions.

Maybe something like treating the two domains as subdomains.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Cody1181609

1 Comments

Sorted by latest first Latest Oldest Best

 

@Miguel251

This has actually been answered a couple of times on Stack Overflow.
stackoverflow.com/questions/4759312/session-share-across-multiple-domains-on-same-server stackoverflow.com/questions/6679007/share-session-between-two-websites
Basically, it's a bad idea unless you use something like OpenID. But if you read these, you'll understand why.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme