Segment subdomains with Google Analytics?
Posted
by
andrewpthorp
on Pro Webmasters
See other posts from Pro Webmasters
or by andrewpthorp
Published on 2013-10-23T14:53:07Z
Indexed on
2013/10/23
16:10 UTC
Read the original article
Hit count: 199
So, when a website has multiple subdomains:
www.example.com
foo.example.com
bar.example.com
What is the best way to use Google Analytics to segment the data? I would prefer have access to 'All Data', 'Data from foo.example.com', and 'Data from bar.example.com'.
I tried setting up 3 different views, and setting a filter on the foo/bar views that says:
Include only traffic from the ISP domain that are equal to foo.example.com.
However, I am not seeing any data collected into that View. I do, however, see all data in the 'All Data' view, but I can't figure out how to segment the data. I am including the analytics.js
in the application.haml
layout, which is always loaded in this app.
Thanks!
© Pro Webmasters or respective owner