mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-12 07:09:59 +00:00
fix(telemetry): send feedback as plain events, not PostHog surveys
CLI and Studio feedback were emitted as `survey sent` with `$survey_*` properties, so every rating was ingested as a PostHog survey response even though no survey definition, targeting, or popover backs them. Emit `cli_render_feedback` and `studio_feedback` with plain `rating` / `comment` properties instead. Same fields, same call sites, same opt-out.
This commit is contained in:
@@ -33,7 +33,7 @@ function normalizeComment(raw?: string): string | undefined {
|
||||
/**
|
||||
* Compact PostHog join keys appended to the environment string that rides
|
||||
* along with the forwarded report (and therefore lands verbatim in the wild
|
||||
* feedback channel): `fid` = this submission's PostHog `survey sent`
|
||||
* feedback channel): `fid` = this submission's PostHog `cli_render_feedback`
|
||||
* `feedback_id`; `tid` = the install's telemetry distinct_id; `renders` =
|
||||
* recent `render_job_id`s (newest last, `!` suffix = the render failed).
|
||||
* Together they turn a wild report into an exact telemetry lookup instead of
|
||||
|
||||
Reference in New Issue
Block a user