2.8K members online now
Understand information in your reports and troubleshoot reporting issues such as self-referrals, (not set) data, and inaccurate information
Guide Me

Subdomain in content refer to wrong link

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I've installed Google analytics on my main domain and it's working fine.

I have currently a test subdomain as

When I try to track content opening on beta subdomain.  on Google analytics - Behaviour - Landing pages , I find landing pages link but when I click on it, it redirects me to wrong address , for example I have page name "Random" on beta so it's url should be 
I find on Landing Pages tab " /Random " when I click on it it opens . not the correct one ?


how can I fix that issue , as there are some pages titles are the same on both main and subdomain , as my subdomain is currently a beta for my main one.


 However I'm using GTM to fire GA 

1 Expert replyverified_user

Subdomain in content refer to wrong link

[ Edited ]
Follower ✭ ✭ ✭
# 2
Follower ✭ ✭ ✭



Maybe add "hostname" dimension to your report to investigate whether you are checking page on a correct subdomain.


Also please note that name that appears in "Page" is not always the same as the URI. Might be best to check your in Google Tag Assistant (Chrome plugin: ) and look for 'dl' parameter. If your "dl" is "" then it will appear in GA -> Behaviour -> Site Content -> All Pages "/random-random2"


More about it:



Subdomain in content refer to wrong link

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

I added a filter to add hostname and uri 
but when I click on link to preview it, it adds main domain name in the begin of url 
for exampe if link is . when I click to open this url from google analytics it try to open ,

Subdomain in content refer to wrong link

Rising Star
# 4
Rising Star



If you are referring to the flyouts that open the content in a new window, this is controlled entirely by your view settings and has nothing to do with the hostname.  So if you go into your view settings, and look at the website URL, I bet you have and not


At this point, besides some impact on flow reports, that is practically all that this setting does.




Theo Bennett

Analytics Evangelist at MoreVisibility | Contact Me
Connect on LinkedIn