mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-25 08:48:13 +02:00
feat: add posthog events (#231)
* feat: add posthog events * fix: workflow_duplicated event * chore: add events to enum
This commit is contained in:
parent
bb5f56bfb7
commit
3f19a16e7f
24 changed files with 450 additions and 93 deletions
11
ui/src/constants/posthog-events.ts
Normal file
11
ui/src/constants/posthog-events.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* PostHog event names — frontend events only.
|
||||
*/
|
||||
export const PostHogEvent = {
|
||||
WORKFLOW_EDITOR_OPENED: "workflow_editor_opened",
|
||||
WORKFLOW_NODE_ADDED: "workflow_node_added",
|
||||
WORKFLOW_RUN_DETAILS_VIEWED: "workflow_run_details_viewed",
|
||||
RECORDING_PLAYED: "recording_played",
|
||||
TRANSCRIPT_VIEWED: "transcript_viewed",
|
||||
WEB_CALL_INITIATED: "web_call_initiated",
|
||||
} as const;
|
||||
Loading…
Add table
Add a link
Reference in a new issue