Skip to content

Commit

Permalink
Remove event ping tracking because it was confusing us (forem#662)
Browse files Browse the repository at this point in the history
  • Loading branch information
benhalpern authored Aug 6, 2018
1 parent 33f590e commit 2cae371
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/assets/javascripts/base.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -643,13 +643,6 @@ var instantClick
//FUNCTIONAL CODE FOR PAGE

function initializeBaseApp() {
var pingLoops = 0;
setInterval(function() {
if (window.ga && ga.create && pingLoops > 0) {
ga('send', 'event', 'ping', '30 second ping', location.pathname, null);
}
pingLoops++;
}, 30000);
InstantClick.on('change', function() {
initializePage();
});
Expand Down

0 comments on commit 2cae371

Please sign in to comment.