Mobile app version of vmapp.org
Login or Join
Angela700

: Tracking different types of users I have an organizational web site that is used by both staff and clients. We've been looking at the analytics data to see how clients are using the site,

@Angela700

Posted in: #GoogleAnalytics

I have an organizational web site that is used by both staff and clients. We've been looking at the analytics data to see how clients are using the site, but finding that some of the usage patterns are almost certainly driven by staff using the site. We would therefore like to somehow track the type of users.

It would be fairly simple to have the server side code look at the current user's IP address to determine if it belongs to our staff network and inject this into the page, but I haven't seen any way to push this information into Google Analytics.

To be clear, I do not want to eliminate the internal traffic from tracking. I'm still interested in it. I just want to be able to separate the two.

Any ideas?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Angela700

1 Comments

Sorted by latest first Latest Oldest Best

 

@Megan663

You can filter IP addresses at Google (full instructions here):


To exclude internal traffic from appearing in a report view, create a
custom filter to exclude a specific IP address or a range of IP
addresses.

Filter Type: Custom > Exclude

Filter Field: Visitor IP Address

Filter Pattern:

For example, if the single IP address is 176.168.1.1, then enter
176.168.1.1.

For example, if the range of IP addresses is 176.168.1.1-25 and
10.0.0.1-14, then enter ^176.168.1.([1-9]|1[0-9]|2[0-5])$|^10.0.0.([1-9]|1[0-4])$
Remember to use regular expressions to enter an IP address.


You can create new profiles within your Google analytics account (set up instructions here) if you want to be able to create two ways of tracking traffic for example:


Internal Traffic Report profile (with filters to show only internal IP addresses)
External Traffic Report profile (with filters to show only external IP addresses)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme