fix: deduplicate pageviews on page refresh

This commit is contained in:
Usman Baig
2026-03-13 00:50:13 +01:00
parent 484300c307
commit aae1714b02
2 changed files with 38 additions and 2 deletions

View File

@@ -4,6 +4,12 @@ All notable changes to Pulse (frontend and product) are documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and Pulse uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html) with a **0.x.y** version scheme while in initial development. The leading `0` indicates that the public API and behaviour may change until we release **1.0.0**.
## [Unreleased]
### Fixed
- **More accurate pageview counts.** Refreshing a page no longer inflates your pageview numbers. The tracking script now detects when the same page is loaded again within a few seconds and skips the duplicate, so metrics like total pageviews, pages per session, and visit duration reflect real navigation instead of reload habits.
## [0.15.0-alpha] - 2026-03-13
### Added