Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

IP addresses exclusion

Featured Replies

I'm not sure if this is the right forum, sorry if you have to move it.

 

 

I have excluded a selection of IP addresses from my Google Analytics results to stop my own viewings affecting data. My IP address changes every day, (something which I have only just learnt).

 

Most of my various IP address are in the range of 86.130.??.??, but some are 86.158.??.??.

If I exclude all the IP addresses that start with 86.130 will this not exclude some local viewers? These are results that would be quite important to me as that's my target audience.

 

How wide a range should I block?

Hi there. I found this information on the Google Analytics Help site. It uses cookies to filter your IP instead.

 

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:

 

1. Create a new page on your domain, containing the following code:

 

<body onLoad="javascript:pageTracker._setVar('test_value');">

 

(Please note that this code is in addition to the Google Analytics tracking code that you have on every page of your website.)

 

2. In order to set the cookie, visit your newly created page from all computers that you would like to exclude from your reports.

 

3. 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

 

Please let me know if this works.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.