Posts Tagged ‘Exclude Internal Traffic’
How to exclude my internal traffic from reports?
If you want to exclude internal traffic from appearing in your reports, you can filter out a specific IP address or a range of IP addresses. You can also use cookies to filter out visits from particular users. We’ll explain how below.
To exclude by IP address:
- Click Filter Manager from the Analytics Settings page
- Enter a Filter Name for this filter
- From the Filter Type drop-down list, select Exclude all traffic from an IP address
- The IP address field will auto-populate with an example IP address. Enter the correct value. Remember to use regular expressions when entering any IP address. For example, if the IP address to filter is:
176.168.1.1
then the IP address value will be:
176\.168\.1\.1You may also enter a range of IP addresses. For example:
Range: 176.168.1.1-25 and 10.0.0.1-14
IP address value : ^176\.168\.1\.([1-9]|1[0-9]|2[0-5])$|^10\.0\.0\.([1-9]|1[0-4])$For help finding the correct expression for your range of IP addresses, use our tool:
http://www.google.com/support/googleanalytics/bin/answer.py?answer=55572
- Select the profiles to which this filter should be applied in the Available Website Profiles box
- Click Add to move the selected profiles into the Selected Website Profiles list
- Click Finish to save this filter, or Cancel to return to the previous page
To exclude traffic by Cookie Content
Note: This is an advanced alternative to the previous method.
To exclude traffic from dynamic IP addresses, you can use a JavaScript function to set a cookie on your internal computers. You’ll then be able to filter all visitors with this cookies from appearing on your Analytics reports.
How to exclude traffic by cookie:
- Create a new page on your domain, containing the following code:
(Please note that this code is in addition to the Google Analytics tracking code that you have on every page of your website.)
- In order to set the cookie, visit your newly created page from all computers that you would like to exclude from your reports.
- Create an Exclude filter to remove data from visitors with this cookie. Follow these instructions http://www.google.com/support/googleanalytics/bin/answer.py?answer=55494
to create a filter with the following settings:Filter Type: Custom filter > Exclude
Filter Field: User Defined
Filter Pattern: test_value
Case Sensitive: No
