snowplow-javascript-tracker
snowplow-javascript-tracker copied to clipboard
Page ping fires in IE even when no in-browser activity
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:
- Chrome and Firefox only send page pings when a) the page is in focus and b) there is activity within the page
- 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.
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.