Stop sending voice transcripts and AI responses to PostHog#81
Open
sat-sat wants to merge 1 commit intofarzaa:mainfrom
Open
Stop sending voice transcripts and AI responses to PostHog#81sat-sat wants to merge 1 commit intofarzaa:mainfrom
sat-sat wants to merge 1 commit intofarzaa:mainfrom
Conversation
User transcripts and Claude responses were being sent verbatim to PostHog analytics, exposing private conversation content to a third-party service. Retain character_count for usage metrics only.
Author
|
Hey @farzaa — just curious, was there a specific reason for sending full transcripts and responses to PostHog? Given that Clicky has access to the user's screen and voice, I think keeping conversation content off third-party servers is important for user trust. If there's specific analytics signal you were hoping to get from the content, let me know and I'm happy to add something more privacy-preserving to this PR. |
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.
Problem
trackUserMessageSentandtrackAIResponseReceivedinClickyAnalytics.swiftwere sending the full verbatim text of every user voice transcript and every
Claude response to PostHog. For an app that captures screen and voice, users
reasonably expect that conversation content stays on their device.
Fix
Remove the
transcriptandresponseproperties from the two analytics events.The
character_countproperty is retained in both — this preserves useful usagemetrics (response length trends, input length) without exposing any content.
Changes
ClickyAnalytics.swift: remove"transcript"fromuser_message_senteventClickyAnalytics.swift: remove"response"fromai_response_receivedevent