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

Differentiating the traffic from the subdomain ''

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭



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


The whole traffic of '' (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 ''

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 ''

Top Contributor
# 3
Top Contributor

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:

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 ''

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭

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: 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!