Lead-gen Group 4: first-party docs-behavior beacon (capture only)#402
Draft
JakeSCahill wants to merge 1 commit into
Draft
Lead-gen Group 4: first-party docs-behavior beacon (capture only)#402JakeSCahill wants to merge 1 commit into
JakeSCahill wants to merge 1 commit into
Conversation
New signed-in-only pageview beacon. For users with the rp_docs_auth hint cookie, reports one pageview per navigation (path, Antora component, and the search term on /search) to the docs-site /docs-activity endpoint, which records it server-side against the account. Replaces anonymous third-party analytics (Plausible/Heap/Algolia) for lead purposes. Anonymous visitors send nothing. Same-origin (session cookie rides along). Deduped once-per-path-per-tab-session to keep write volume to real navigations. Fire-and-forget; never blocks or throws into the page. Capture only — the endpoint stores to our own user store; nothing is delivered to sales. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
✅ Deploy Preview for docs-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.

Draft / WIP — capture only. The docs-ui half of Group 4 in the lead-gen plan. Pairs with the docs-site
/docs-activityendpoint (docs-site PR #192).Adds
src/js/27-docs-activity.js: a signed-in-only pageview beacon. For users with therp_docs_authhint cookie, it reports one pageview per navigation (path, Antoradata-component, and theqterm on/search) to the same-origin/docs-activityendpoint, which records it server-side against the user's account.Capture only; nothing is delivered to sales (held pending legal confirm). Lint passes. Needs the docs-site endpoint deployed to do anything, and ships in the UI bundle like other JS.
🤖 Generated with Claude Code