Semalt: Excluding Internal Traffic From Selenium WebDriver In Google Analytics Once

Page 1

23.05.2018

Semalt: Excluding Internal Tra c From Selenium WebDriver In Google Analytics

Once in a while, a site requires testing to determine optimization levels. Selenium WebDriver and Watir are among the automatic UI testing tools used. Developers should, therefore, make a point of putting into consideration that by accessing the site, they will also count as internal traf c. It is prudent for them to exclude such traf c from Google Analytics to prevent skewed reports. Julia Vaishnava, the Senior Customer Success Manager of Semalt, states that it is relatively easy to eliminate traf c from Selenium if it is carried out in the testing environment. One can use GA tokens from production to separate the analytics data. The other method is to avoid adding the GA extension to a testing server. However, if the developer uses Selenium against production, there are a few ways through which one can exclude the traf c generated by Google Analytics. Some require excluding speci c traf c, while others require a complete update of the Selenium test code.

https://rankexperience.com/articles/article1405.html

1/2


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.