snowplow / snowplow/snowplow-javascript-tracker

Irregular behaviour of session index

Open
#590 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

category:browser category:help_wanted priority:low status:needs_triage type:defect
Dominant language
TypeScript
Stars
590
Forks
232
Avg merge
2h 22m
Merged PRs (30d)
3

Description

from snowplow/snowplow#1629:

Findings based on the differences between the domain_sessionidx and a session index calculated using SQL (30 minutes lag). Events are sorted on dvce_tstamp. The index sometimes decreases, increases when it shouldn't (< 30 minutes) or doesn't increase where it should.
Example reports in Mode:
https://modeanalytics.com/snowplowanalytics/reports/ec581df7c7a7 (index doesn't increase)
https://modeanalytics.com/snowplowanalytics/reports/d8d0b1a34771 (index decreases)

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

No source file, test, or entry point is named. Start with the findings from snowplow/snowplow#1629 and compare tracker session indexes against the described SQL calculation using a 30-minute lag; review the linked Mode reports for the decrease and missing-increment cases. Done means the irregular behavior is reproduced, its cause is identified, and the expected index behavior is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
analytics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.