Skip to content

Commit

Permalink
fix(extension): [LW-11737] send shared wallets co-sign confirmation c…
Browse files Browse the repository at this point in the history
…lick (#1479)
  • Loading branch information
mchappell authored Oct 28, 2024
1 parent c87b43c commit 4bfc718
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ export const Footer = withAddressBookContext(
const event = isSharedWallet
? 'SharedWalletsSendTxConfirmationConfirmClick'
: 'SendTransactionConfirmationConfirmClick';
sendEventToPostHog(PostHogAction[event]);
builtTxData.importedSharedWalletTx
? sendEventToPostHog(PostHogAction.SharedWalletsCosignTxConfirmationClick)
: sendEventToPostHog(PostHogAction[event]);
break;
}
case Sections.SUCCESS_TX: {
Expand Down
1 change: 1 addition & 0 deletions packages/common/src/analytics/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ export enum PostHogAction {
SharedWalletsCosignTxCancelClick = 'shared wallets | co-sign | co-sign transaction | cancel | click',
SharedWalletsCosignTxSummaryConfirmClick = 'shared wallets | co-sign | co-sign tx summary | confirm | click',
SharedWalletsCosignTxSummaryCancelClick = 'shared wallets | co-sign | co-sign tx summary | cancel | click',
SharedWalletsCosignTxConfirmationClick = 'shared wallets | co-sign | co-sign tx confirmation | confirm | click',
SharedWalletsSendClick = 'shared wallets | send | click',
SharedWalletsSendTxDataReviewTxClick = 'shared wallets | send | transaction data | review transaction | click',
SharedWalletsSendTxSummaryConfirmClick = 'shared wallets | send | transaction summary | confirm | click',
Expand Down

0 comments on commit 4bfc718

Please sign in to comment.