snowplow / snowplow/snowplow-javascript-tracker
Option to automatically send a page view on each URL change
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 590
- Forks
- 232
- Avg merge
- 2h 22m
- Merged PRs (30d)
- 3
Description
A customer writes:
Do you guys have any support for angular Single Page Apps in the javascript tracker? I am interested in firing page views when the URL changes, but the page is not actually refreshing.
Typically you would manually fire additional trackPageView events as the user moves around the app, but it would be nice to give users the option for this to fire automatically.
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 locating the JavaScript tracker’s existing page-view handling and any URL or navigation hooks. Define an opt-in behavior for sending page views when an Angular single-page app URL changes, then verify that manual page views remain supported and that repeated navigation produces the expected events.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- analytics, frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100