awslabs / clickstream-web

Web SDK for Clickstream Analytics on AWS
https://aws.amazon.com/solutions/implementations/clickstream-analytics-on-aws/
Apache License 2.0
15 stars 0 forks source link

feat: optimize page view after session start #44

Closed zhu-xiaowei closed 8 months ago

zhu-xiaowei commented 8 months ago

Description

  1. do not track page view after browser reload
  2. add page view event when session start from reopen a hide page

General Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

codecov-commenter commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (86cd73b) to head (532b728).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #44 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 25 25 Lines 1082 1123 +41 Branches 209 221 +12 ========================================= + Hits 1082 1123 +41 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.