Filter Traffic from Analytics or Database sends server requests to your website as part of the monitoring that we do. These requests can trigger your Google Analytics script and may cause traffic from to appear as though it is an authentic user, inflating traffic numbers or otherwise obscuring traffic statistics. To avoid this issue, you can take one of these steps to filter traffic from monitors without affecting the checks themselves. 

Table of Contents

Filtering Traffic At A Glance

  • Filter bots and user-agents in Google Analytics to keep your data clean.

  • Add your Probe Server IP to Google analytics to accurately track site traffic.

  • Run a scheduled filter on your database to remove user-agent specific data.

The User-Agent

Return Transaction Checks utilize the following user agents: 

User Agent for Desktop Sites

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36 Uptime/1.0 (

User Agent for Mobile Sites

Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.114 Mobile Safari/537.36 Uptime/1.0 (

User-Agent for All Other Checks

Mozilla/5.0 (compatible; Uptime/1.0;
Mozilla/5.0 (compatible; Uptime/1.0;

A Transaction Check can purchase items the same way a user can, so this data will expand over time, causing some issues with reporting. For example, it could create an “out of stock” warning or create data suggesting conversions were higher than they are. 

Method One: Filter Bots or User-Agent From Google Analytics


The first method is the simplest, and the preferred method. Simply filter all bot traffic from Google Analytics. From your Google Analytics admin, navigate to your Settings and scroll down to tick the box for Bot Filtering. This method will filter all traffic Google perceives as a bot. 


Method Two: Use a Custom Dimension


If you cannot enable this setting, this secondary method will use Custom Dimensions to filter our user-agent from your traffic. Visit your admin and navigate to your Property page, where you will define Custom Dimensions. Name your Custom Dimension “User Agent” and set the scope to Session. You will need to configure your existing gtag.js snippet, which you will need to place wherever you include Analytics. Your Analytics code will look similar to this example:

<!-- Google Analytics -->
<script async src=""></script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'UA_TRACKING_ID', {
      'custom_map': {'dimension1': 'user_agent'}
  gtag('event', 'send_user_agent', {'user_agent': window.navigator.userAgent});

Google Analytics support documents offer more information on Custom Dimensions: 

To filter this view, visit your Google Analytics Admin and click View > Filters. Next, click Add Filter and set the Filter Type to Custom and the Filter Field to User Agent


Method Three: Filter by Probe Server IP


For this method, you need to access the list of probe servers (Support > Probe Servers).  Use Download CSV to acquire a list of all of the IP addresses, then visit your Google Analytics Account. Google has detailed instructions on adding a filter to Google Analytics. Add a Predefined filter that Excludes by IP Address or by the word "uptime".

Use the IP addresses from the CSV you downloaded from to fill in these values. Google suggests using more than one filter to exclude multiple IP addresses. You can exclude each probe server if you are using monitoring from around the globe. Otherwise, only exclude the servers that correspond with locations you are actively monitoring. 

Method Four: Filter by User in Your Database


This method uses a schedule to delete any data this user agent generates. (NOTE: we recommend storing the user agent ID and using this as a filter where possible). 

Simply create a job that deletes all data the user creates, and schedule it to run once per day. 

Was this article helpful?
1 out of 1 found this helpful



Article is closed for comments.

Have more questions?
Submit a request
Share it, if you like it.