snowplow / snowplow-javascript-tracker

Snowplow event tracker for client-side and server-side JavaScript. Add analytics to your websites, web apps and servers.
http://snowplowanalytics.com
BSD 3-Clause "New" or "Revised" License
552 stars 223 forks source link

Page ping fires in IE even when no in-browser activity #8

Open alexanderdean opened 11 years ago

alexanderdean commented 11 years ago

From kingo55:

I noticed the page ping works even when the user is inactive. I locked my computer while I > went to lunch with the code active on a site and unbeknownst to me, it produced hundreds > of gif requests.

Reproduced by Alex IE but not on Chrome or Firefox:

  1. Chrome and Firefox only send page pings when a) the page is in focus and b) there is activity within the page
  2. IE sends page pings whenever the page is in focus, regardless of whether an event is firing or not.

With IE I'll need to figure out which event is incorrectly firing and triggering a page ping.

paulboocock commented 4 years ago

Not sure if this is worth the effort but leaving in as we still list IE9 as supported. Shouldn't be too hard to triage, go through each activity event handler one at a time and watch a Kibana stream in Snowplow Mini to see which one still fires events. Might need to use something like BrowserStack and a Snowplow Mini running over ngrok, as getting hands on IE9 & 10 is a little tricky.