Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

track offline page views #488

Open
dwhieb opened this issue Jan 16, 2022 · 0 comments
Open

track offline page views #488

dwhieb opened this issue Jan 16, 2022 · 0 comments
Labels
🛠 development changes to the development environment 🌠 wish list unplanned issues

Comments

@dwhieb
Copy link
Member

dwhieb commented Jan 16, 2022

Track offline page views by saving them in IndexedDB and reporting them as a custom "offline page views" metric.

You can implement a polymorphic app.trackPageView() method which calls Azure AppInsights when online, and saves data to IndexedDB when offline. When calling Azure AppInsights, it should send both the current page view, and any offline page views (and then clear the counter).

@dwhieb dwhieb added 🌠 wish list unplanned issues 🛠 development changes to the development environment labels Jan 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠 development changes to the development environment 🌠 wish list unplanned issues
Projects
None yet
Development

No branches or pull requests

1 participant