Repository navigation
feat(analytics): measure unique organic visitors - #406
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Ducksss
force-pushed
the
analytics/measure-organic-visitors
branch
from
July 29, 2026 10:06
342b4f1 to
e6f301e
Compare
Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>
tin-computer
Bot
force-pushed
the
analytics/measure-organic-visitors
branch
from
July 31, 2026 22:19
98cd50b to
ad38ab0
Compare
This was referenced Aug 2, 2026
This branch was successfully deployed
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.
Summary
organic_searchorotherfrom an exact organic campaign marker or a fixed search-engine hostname listverification_runwhile keeping all query strings and raw acquisition details out of analyticsMeasurement
Monthly organic visitors are distinct PostHog people on
$pageviewwheretraffic_source = organic_searchandverification_run = false, grouped by UTC month. Historical rows cannot be backfilled; the first trustworthy window begins when this change reaches production.Checks
pnpm exec vitest run --config ./vitest.config.mts tests/int/analytics-contract.int.spec.tspnpm source:buildpnpm exec tsc --noEmit