Remove redundant self_hosted_expansion prefixes for telemetry events.

This commit is contained in:
Conor Macpherson 2023-04-24 10:54:40 -04:00
parent 31d13fdb0a
commit 700af71a0d
2 changed files with 3 additions and 3 deletions

View File

@ -74,12 +74,12 @@ export default function SelfHostedExpansionErrorPage(props: Props) {
error={true} error={true}
formattedButtonText={formattedButtonText} formattedButtonText={formattedButtonText}
buttonHandler={() => { buttonHandler={() => {
trackEvent(TELEMETRY_CATEGORIES.SELF_HOSTED_EXPANSION, 'self_hosted_expansion_failure_try_again_clicked'); trackEvent(TELEMETRY_CATEGORIES.SELF_HOSTED_EXPANSION, 'failure_try_again_clicked');
props.tryAgain(); props.tryAgain();
}} }}
formattedTertiaryButonText={tertiaryButtonText} formattedTertiaryButonText={tertiaryButtonText}
tertiaryButtonHandler={() => { tertiaryButtonHandler={() => {
trackEvent(TELEMETRY_CATEGORIES.SELF_HOSTED_EXPANSION, 'self_hosted_expansion_failure_contact_support_clicked'); trackEvent(TELEMETRY_CATEGORIES.SELF_HOSTED_EXPANSION, 'failure_contact_support_clicked');
window.open(contactSupportLink, '_blank', 'noreferrer'); window.open(contactSupportLink, '_blank', 'noreferrer');
}} }}
/> />

View File

@ -35,7 +35,7 @@ export default function SelfHostedExpansionSuccessPage(props: Props) {
<a <a
href='#' href='#'
onClick={() => { onClick={() => {
trackEvent(TELEMETRY_CATEGORIES.SELF_HOSTED_EXPANSION, 'self_hosted_expansion_success_screen_closed'); trackEvent(TELEMETRY_CATEGORIES.SELF_HOSTED_EXPANSION, 'success_screen_closed');
history.push(ConsolePages.BILLING_HISTORY); history.push(ConsolePages.BILLING_HISTORY);
props.onClose(); props.onClose();
}} }}