snowplow / snowplow/snowplow-javascript-tracker

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

Open
#8 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

category:help_wanted good first issue priority:low status:needs_triage type:defect
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:

  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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.