Analytics
2.9K members online now
Discuss regaining access to Analytics accounts, restoring accounts, changing user access levels, and navigating the homepage
 
Guide Me
star_border
Reply

Differentiating the traffic from the subdomain 'uk.foo.mydomain.com'

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi.

 

I am analyzing the traffic of 'foo.mydomain.com' and recently I created the subdomain 'uk.foo.mydomain.com' (and 'de.foo.mydomain.com', etc), which are being analyzed by the same property of Google Analytics (the property 'foo.mydomain.com').

 

The whole traffic of 'foo.mydmain.com' (included these new subdomains) are within the same property, and wondered if there was any option to differentiate among all these subdomains, in order to track the behaviour of each on of the subdomains.

 

Thank you very much.

2 Expert replyverified_user

Re: Differentiating the traffic from the subdomain 'uk.foo.mydomain.com'

Top Contributor
# 2
Top Contributor

Hi Thomas :_)
There are a couple of things that can be done.
You can create a new View and create and apply the following filter to it
Filter Type: Custom filter > Advanced
Field A: Hostname Extract A: (.*)
Field B: Request URI Extract: (.*)
Output To: Request URI Constructor: $A1$B1

 

It prepends the hostname to the request URI in the content reports etc, so as to be able to tell which domains pageviews are appearing on so as you can compare them against one another.

The other option is to also create a new View for each subdomain and apply a hostname filter, doing this will enable you to also seperate the reporting out for each domain into its own View

Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here

Re: Differentiating the traffic from the subdomain 'uk.foo.mydomain.com'

Top Contributor
# 3
Top Contributor
Hi,

You can set up a separate view for each subdomain and use a predefined include only filter in order to include only traffic to that subdomain in that view.

You can also create a new view and apply a filter that will add the domain name to the reports:
https://support.google.com/analytics/answer/1012243?hl=en

Let me know if you have questions.

Arnold Majlath, Google Analytics Top Contributor
Circle Me On Google+ | Visit me @ Redfly Digital

Re: Differentiating the traffic from the subdomain 'uk.foo.mydomain.com'

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭
Hi!

I'm new to Google Analytics from the Admin side of things. I've analyzed data within GA but never worked with the Admin Console. I have a client I'm working with that has bad URLs. For example: id.heroku.com/https://id.heroku.com/login. This happened after some changes were made to the filtering out of PII information from the URL in GTM. The client would like the URLs to be without the https portion. This applies to several URLs in the All Pages report. Also new to regex expressions so any help is greatly greatly appreciated. Would I create a filter to scrap out the https addition to the URL?

Thank you for the help!

Audrey