Skip to content
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

Merged
merged 6 commits into from
Dec 24, 2024

Conversation

wcchang1115
Copy link
Collaborator

@wcchang1115 wcchang1115 commented Dec 20, 2024

PR checklist

  • Ensure you have added or ran the appropriate tests for your PR.
  • DCO signed

What type of PR is this?
Feature

What this PR does / why we need it:

  • Add telemetry for the experiment feature, preview change.

Which issue(s) this PR fixes:
DRC-971

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

@wcchang1115 wcchang1115 requested review from kentwelcome and removed request for kentwelcome December 20, 2024 10:04
@wcchang1115 wcchang1115 marked this pull request as ready for review December 23, 2024 03:13
Base automatically changed from feature/drc-971-beta-view-page-for-the-preview-change to main December 23, 2024 06:54
@wcchang1115 wcchang1115 force-pushed the feature/drc-973-telemetry-for-preview-change branch from dbba07f to d634ebe Compare December 23, 2024 07:01
@@ -39,3 +39,20 @@ interface HistoryActionProps {
export function trackHistoryAction(props: HistoryActionProps) {
amplitude.track("[Web] history_action", props);
}

interface PreviewChangeProps {
action: "explore" | "run";
Copy link
Member

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?

Copy link
Collaborator Author

@wcchang1115 wcchang1115 Dec 23, 2024

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!

@wcchang1115 wcchang1115 force-pushed the feature/drc-973-telemetry-for-preview-change branch from 053d5b4 to acf5270 Compare December 23, 2024 23:43
Signed-off-by: Wei-Chun, Chang <[email protected]>
Copy link
Member

@kentwelcome kentwelcome left a 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]>
@wcchang1115 wcchang1115 merged commit 0597aba into main Dec 24, 2024
8 checks passed
@wcchang1115 wcchang1115 deleted the feature/drc-973-telemetry-for-preview-change branch December 24, 2024 08:39
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