Skip to content

Commit c1a0f2b

Browse files
removed ga events for ajax
1 parent 3251588 commit c1a0f2b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/tracker.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ function refresh() {
917917
//status = '<img src="spinner.gif" width="16" height="16" alt="" /> Refreshing ...';
918918
//$('#status_bar').html(status);
919919

920-
if(typeof _gaq == 'object') _gaq.push(['_trackEvent', 'ajax', 'refresh', 'Vehicles']);
920+
//if(typeof _gaq == 'object') _gaq.push(['_trackEvent', 'ajax', 'refresh', 'Vehicles']);
921921

922922
$.ajax({
923923
type: "GET",
@@ -940,7 +940,7 @@ function refreshReceivers() {
940940
// if options to hide receivers is selected do nothing
941941
if(offline.get('opt_hide_receivers')) return;
942942

943-
if(typeof _gaq == 'object') _gaq.push(['_trackEvent', 'ajax', 'refresh', 'Recievers']);
943+
//if(typeof _gaq == 'object') _gaq.push(['_trackEvent', 'ajax', 'refresh', 'Recievers']);
944944

945945
$.ajax({
946946
type: "GET",
@@ -961,7 +961,7 @@ function refreshReceivers() {
961961
}
962962

963963
function refreshPredictions() {
964-
if(typeof _gaq == 'object') _gaq.push(['_trackEvent', 'ajax', 'refresh', 'Predictions']);
964+
//if(typeof _gaq == 'object') _gaq.push(['_trackEvent', 'ajax', 'refresh', 'Predictions']);
965965

966966
$.ajax({
967967
type: "GET",

0 commit comments

Comments
 (0)