-
Notifications
You must be signed in to change notification settings - Fork 106
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
[SIW-1953] Mixpanel tracking of new ITWallet feature #6601
base: master
Are you sure you want to change the base?
Conversation
…-new-itw-mixpanel-events
ts/features/itwallet/presentation/components/ItwPresentationDetailsFooter.tsx
Outdated
Show resolved
Hide resolved
…lector in ItwPresentationDetailsFooter for iPatente CTA
*/ | ||
export const itwIsIPatenteCtaEnabledSelector = createSelector( | ||
export const itwIPatenteCtaSelector = createSelector( |
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.
export const itwIPatenteCtaSelector = createSelector( | |
export const itwIPatenteCtaConfigSelector = createSelector( |
@@ -131,28 +133,40 @@ const getCredentialActions = (credentialType: string): React.ReactNode => | |||
* Renders the IPatente service action item | |||
*/ | |||
const IPatenteListItemAction = () => { | |||
const isIPatenteEnabled = useIOSelector(itwIsIPatenteCtaEnabledSelector); | |||
const iPatenteCtaSelector = useIOSelector(itwIPatenteCtaSelector); |
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.
const iPatenteCtaSelector = useIOSelector(itwIPatenteCtaSelector); | |
const ctaConfig = useIOSelector(itwIPatenteCtaConfigSelector); |
…-new-itw-mixpanel-events
//TODO Change with a new source | ||
"message_detail" |
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.
I think we should solve this ambiguity in this PR
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 I know, in fact I inserted the tag don't merge. I'm still waiting for an answer on what source to insert; when I know what to put I will delete the TODO and change the source to the correct one
Short description
This PR add the tracking on mixpanel of some ITWallet events
Warning
Depens on #6577
List of changes proposed in this pull request
trackItwStatusWalletAttestationFailure
when the wallet attestation fails.trackItwStatusCredentialAttestationFailure
when the credential attestation failstrackItwTrustmarkRenewFailure
when the generation of the QR Code for attesting the authenticity of the credential failstrackCredentialCardModal
when a credential is viewed in landscape modeFIMS_START
by clicking the CTA towardsiPatente
through thetrackAuthenticationStart
functionitwIPatenteCtaConfigSelector
to retrieve the iPatente cta remote configHow to test
Verify that the newly added events are tracked correctly