Home Google Analytics View site visitors for subdomains in Google Analytics

View site visitors for subdomains in Google Analytics

By default, Google Analytics does not distinguish between reporting for subdomains. If your website uses subdomains, e.g. For example, for another language (spanish.yourdomain.com), you will need to set up filters in your Analytics account to closely track traffic to these subdomains.

To set up a filter that allows the entire domain to be displayed when viewing reports, do the following:

  1. Sign in to your Analytics account and go to the admin screen.
  2. In the third column, click on “Filters” (VIEW).
  3. Click on “+ New Filter”.
  4. Add name for filter (everything is fine – example – “Show full subdomain”).
  5. Select “Custom” as the filter type.
  6. Selected “Advanced”.
  7. For Field A -> Extract A, select “Hostname” from the drop-down list and enter the following in the field: (. *).
  8. For Field B -> Extract B, select Request URL and enter the following in the field: (. *).
  9. For Output To -> Constructor, select Request Url and enter the following in the field: $ A1 $ B1.
  10. Leave the rest of the settings unchanged and click “Save”.

Full URLs are now displayed in Google Analytics. From now on, data will be correctly assigned.

Below is a screenshot of the setup process. Enjoy.

Latest articles

web optimization encourages oblique investments | Monetary tribune

With the flood of new investors on the stock market in a relatively short space of time, the regulator has stepped up its efforts...

6 causes Maxime Bernier needs you to vote for PPC

This article is part of a Narcity series that highlights the key points you need to know about where Canada's political party leaders stand...

PPC candidate apologizes for being requested to kill Trudeau – in some way

It could be the most insincere excuse in political history. Popular Party candidate and pot-backer Mark Emery was beaten up on Twitter Monday night after...

The state of search engine optimisation 2021 [New Search Engine Journal Research]

Do you love dates? Are you looking for help to successfully steer your SEO strategy and career in the right direction for 2022?Then...