snowplow / snowplow/snowplow-javascript-tracker

Option to automatically send a page view on each URL change

Open
#517 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

category:browser priority:low status:needs_triage type:enhancement
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.