-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Add telemetry for preview change #553
[Feature] Add telemetry for preview change #553
Conversation
dbba07f
to
d634ebe
Compare
js/src/lib/api/track.ts
Outdated
@@ -39,3 +39,20 @@ interface HistoryActionProps { | |||
export function trackHistoryAction(props: HistoryActionProps) { | |||
amplitude.track("[Web] history_action", props); | |||
} | |||
|
|||
interface PreviewChangeProps { | |||
action: "explore" | "run"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we record a close
event?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, we should record user who just leave without action
thanks!
Signed-off-by: Wei-Chun, Chang <[email protected]>
Signed-off-by: Wei-Chun, Chang <[email protected]>
Signed-off-by: Wei-Chun, Chang <[email protected]>
Signed-off-by: Wei-Chun, Chang <[email protected]>
053d5b4
to
acf5270
Compare
Signed-off-by: Wei-Chun, Chang <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Wei-Chun, Chang <[email protected]>
PR checklist
What type of PR is this?
Feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
DRC-971
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE