Filter Webmetrics traffic from Google Analytics

If you are gathering analytics data using Google Analytics (GA) and are concerned about the impact of monitoring traffic on your data, you can filter out the traffic by setting a User-Defined variable (Recommended) or filtering by IP address.

Note:Visit for a continuously updated list of Webmetrics agents and IP addresses.

Note: Our Standard Network monitors do not execute GA code and therefore do not require any action in order to filter their traffic.

To Filter with User-Defined Variables:

The Google Analytics user-defined variable (__utmv) cookie is a persistent, first-party cookie that has a lifetime of two years. This means that every time a user with a __utmv cookie returns to your site, the label assigned to the user will continue to identify him or her using that label until he or she either deletes the cookie or visits another page containing another call to _setVar and a different label. This cookie should only be set once per visit. Due to a known bug with GA, the user-defined variable needs to be set to a non-existent tracking code in order to filter both "page views" AND "visits". Otherwise, GA will report a higher number of "visits" than "page views".

Webmetrics agents clear cookies and cache each time they visit your site. So any previously set cookies will not be retained, and the user-defined variable will not be used on the first page. This method ensures that all pages get recorded properly as a Webmetrics agent, as well as avoids the need to manually update your GA filters when Webmetrics updates any agent IP addresses. Please refer to the GlobalWatch_Update_actions_to_be_taken page for more information regarding Webmetrics agent updates.


  1. Create an HTML page that will set a cookie containing the user-defined variable of "Webmetrics" in GA prior to accessing any "real" site content. Accessing this page will become the first step of your monitoring script and ensures that the appropriate cookie will be set in the agent browser when accessing remaining pages. If using the new ga.js tracking code, upload a page containing something similar to the following content to your site. Remember to use your own GA tracking code and include the var tempPageTracker = _gat._getTracker("outer-space"); and tempPageTracker._setVar("Webmetrics"); code shown below.

        <title>Set Google Analytics User-Defined Variable</title>
        <h1>Set Google Analytics User-Defined Variable</h1>
           The purpose of this page is to set a user-defined variable in Google Analytics
           (GA) for Webmetrics monitoring agents so that the traffic can be filtered from 
           the GA reports.
        <script type="text/javascript">
           var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
           document.write(unescape("%3Cscript src='" + gaJsHost + "' type='text/javascript'%3E%3C/script%3E"));
        <script type="text/javascript">
           try {
              var pageTracker = _gat._getTracker("UA-XXXXXXX-X");
                // Due to a known bug in GA, we have to set the cookie to a non-existent tracker value
                // in order to filter both page views AND visits.
                // Let's send the data into the ether!
              var tempPageTracker = _gat._getTracker("outer-space"); 
           } catch(err) {}