Skip to content

[codex] Add first-use measurement#39

Open
iteration-machine-dev[bot] wants to merge 1 commit into
mainfrom
codex/first-use-measurement
Open

[codex] Add first-use measurement#39
iteration-machine-dev[bot] wants to merge 1 commit into
mainfrom
codex/first-use-measurement

Conversation

@iteration-machine-dev

Copy link
Copy Markdown

What changed

  • Added explicit first-use analytics events for share creation, edit-link opens, saves, GitHub connection, repo sync, and push-back.
  • Tagged events with flow: anonymous_share or flow: github_workspace so the two first-use paths can be separated in analytics.
  • Added shared payload sanitization so document content, markdown, source text, secrets, tokens, and request bodies are not sent with first-use events.

Impact

This makes the real first-use win measurable instead of relying only on generic product event volume. Analytics can now answer whether someone created a share, opened an edit link, saved, connected GitHub, synced a repo, and pushed changes back.

Validation

  • npm --workspace web run test
  • npx tsc --noEmit -p hocuspocus-server/tsconfig.json
  • npm --workspace web run build
  • git diff --check

@vercel

vercel Bot commented Jun 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
with-md-web Ready Ready Preview, Comment Jun 7, 2026 2:18pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant