Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

Generated with mux

Adds the workspace ID (already random/anonymous) to the message_sent telemetry event for per-workspace analytics.

The workspace ID is randomly generated (e.g., UUID format) and contains no user information, so it's safe to include per the existing privacy guidelines in payload.ts.

Add workspace ID (already random/anonymous) to the message_sent event
to enable per-workspace analytics without exposing user information.

- Add workspaceId field to MessageSentPayload interface
- Update trackMessageSent function signature in tracking.ts
- Update useTelemetry hook to accept workspaceId parameter
- Update ChatInput call site to pass props.workspaceId
- Update oRPC schema for MessageSentPropertiesSchema
@ammario ammario merged commit 1f7a544 into main Dec 6, 2025
17 of 19 checks passed
@ammario ammario deleted the telemetry-workspace-id-payload branch December 6, 2025 20:36
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.

2 participants