Repository navigation
fix(analytics): exclude self-referrals and preserve bounce counts - #481
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Internal navigation between a site's bare host and
wwwalias appeared as an external source. Exclude those referrers at query time across source reports and native/imported history, while preserving external sources, other subdomains, raw records and traffic totals. The shared and tenant migrations install a self-contained classifier that also survives backup restore.Preserve native bounce counts when merging daily summaries: integer truncation could turn one bounce in three sessions into zero. Duration and session definitions stay unchanged; there is no API schema change.
Validation: synthetic red/green and focused race regressions pass, including both production backup-restore tests. The persisted macro passed a disposable DuckDB 1.5.6 → 2.0.0 → 1.5.6 round trip with unchanged rows. Independent review accepted fd88f12. Current-head CI is green. Local full-profile QA completed 30 of 31 gates successfully;
cloud-testhit the package timeout and is being retried once on unchanged source with unchanged tests and limits. Merge waits for that result.