* don't track user-agent of 'monitor'

This commit is contained in:
Seth Call 2014-05-29 21:51:02 -05:00
parent 4919b92771
commit 5cd947729c
2 changed files with 1 additions and 2 deletions

View File

@ -178,7 +178,6 @@
attempt.server_client_id = serverClientId;
attempt.received_progress = false;
testSummary.attempts.push(attempt);
console.log("pushing attempt: " + testSummary.attempts.length)
//context.jamClient.StopNetworkTest('');

View File

@ -1,4 +1,4 @@
<% if current_user.nil? || !Rails.application.config.ga_suppress_admin || !current_user.admin? # remove admin users from GA %>
<% if request.user_agent != "monitor" && (current_user.nil? || !Rails.application.config.ga_suppress_admin || !current_user.admin?) # remove admin users from GA %>
<script>
(function(context) {
if(context.jamClient) {