snowplow / snowplow/snowplow-javascript-tracker
Page ping fires in IE even when no in-browser activity
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 590
- Forks
- 232
- Avg merge
- 2h 22m
- Merged PRs (30d)
- 3
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the event that triggers page pings in IE and compare it with the Chrome and Firefox behavior described in the reproduction. Reproduce the locked or inactive-page case and identify why IE emits requests without in-page activity; done means inactive IE pages no longer send page pings while active behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- analytics, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100