Repository navigation
Count views from both Clarity and GitHub folder traffic - #582
Merged
Alejandro Lopez (soyalejolopez) merged 1 commit intoNov 2, 2026
Merged
Conversation
Clarity replaced a resource's GitHub-based view count as soon as it recorded a single view, which wiped out the older, larger counts (PowerClaw fell from 1,632 views to 4, Purview Audit Copilot Report from 656 to 2) and left Update-VivaEngageLicensingToggle, which Clarity has never seen, on top of Popular with a GitHub-only 222. Views are now the sum of the two surfaces: catalog page views from Clarity and views of the resource's GitHub folder from the saved traffic snapshots. Neither sees the other's visits. - combineViews() in stats-state.js, used by build-stats.js, with unit tests - resource-stats.json re-rendered from the persisted data - hover text on every view count explains the sources and that the count is a minimum - traffic-data/README.md documents how views are counted and which days were never captured Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
🛰️ PR Sweeper reportRisk: 🟢 LOW · Security gate: ✅ passing · Files: 6 🔒 Automated guardrails (authoritative)
🤖 Dual-model AI review (advisory)AI review unavailable for this run (models not reachable or no diff). Guardrails above are unaffected.
The automated guardrails are authoritative and gate the security status. The AI review is advisory and never auto-merges. Thanks for contributing to FastTrack! 🛩️ |
Alejandro Lopez (soyalejolopez)
deleted the
combine-github-and-clarity-views
branch
November 2, 2026 19:16
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.
Clarity replaced a resource's GitHub-based view count as soon as it recorded a single view, which wiped out the older, larger counts (PowerClaw fell from 1,632 views to 4, Purview Audit Copilot Report from 656 to 2) and left Update-VivaEngageLicensingToggle, which Clarity has never seen, on top of Popular with a GitHub-only 222.
Views are now the sum of the two surfaces: catalog page views from Clarity and views of the resource's GitHub folder from the saved traffic snapshots. Neither sees the other's visits.