* don't track user-agent of 'monitor'
This commit is contained in:
parent
4919b92771
commit
5cd947729c
|
|
@ -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('');
|
||||
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue