snowplow / snowplow/snowplow-javascript-tracker
Irregular behaviour of session index
Nobody has claimed this yet.
- 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
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
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