: Google Analytics: Tracking multiple domain names of one website Suppose I have the website www.example.com and www.example2.com. I redirect all page requests from www.example2.com to their corresponding
Suppose I have the website example.com and example2.com. I redirect all page requests from example2.com to their corresponding pages at example.com. Is there a way for Google Analytics to track visits at example2.com?
I read www.google.com/support/analytics/bin/answer.py?answer=55503 and suggested to add tracking code to the links on my second domain (www.example2.com). However, I don't have pages in my second domain as it always redirects to the other one.
Is it possible to track multiple domains this way?
More posts by @Shanna517
2 Comments
Sorted by latest first Latest Oldest Best
There is a setting when adding your GA code to allow for multiple domains.
You could treat your redirecting domain as a campaign and append campaign variables to the redirected URL.
For example:
www.example2.com/page/
... could redirect to:
www.example.com/page/?utm_source=example2.com&utm_medium=Redirect&utm_campaign=Redirects
(i.e. your redirect would always append the ?utm_source=example2.com&utm_medium=Redirect&utm_campaign=Redirects query to instruct Google Analytics to track the hit as a campaign link; the downside to this method is that, should the visitor share the link with the appended query string, other hits which are not necessarily redirects would appear under the Redirects campaign)
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.