-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat(analytics): ilya/DERG-2409/Add_tracking_to_real_account_sign_up_on_Deriv_Go #603
feat(analytics): ilya/DERG-2409/Add_tracking_to_real_account_sign_up_on_Deriv_Go #603
Conversation
'action': 'step_passed', | ||
'step_codename': stepCodename, | ||
'step_num': stepNum, | ||
'user_choise': userChoice, |
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.
'user_choise': userChoice, | |
'user_choice': userChoice, |
/// Tracks when the user presses the next button | ||
/// and the step is successfully passed. | ||
void logStepPassedRealSignUp( | ||
[String? stepNum, | ||
String? stepCodename, | ||
List<Map<String, dynamic>>? userChoice]) { | ||
DerivRudderstack().track( | ||
eventName: 'ce_real_account_signup_form', | ||
properties: RudderProperty.fromMap(<String, dynamic>{ | ||
'action': 'step_passed', | ||
'step_codename': stepCodename, | ||
'step_num': stepNum, | ||
'user_choise': userChoice, | ||
'form_source': 'mobile_derivgo', | ||
'form_name': 'real_signup_derivgo' | ||
}), | ||
); | ||
} |
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.
/// Tracks when the user presses the next button | |
/// and the step is successfully passed. | |
void logStepPassedRealSignUp( | |
[String? stepNum, | |
String? stepCodename, | |
List<Map<String, dynamic>>? userChoice]) { | |
DerivRudderstack().track( | |
eventName: 'ce_real_account_signup_form', | |
properties: RudderProperty.fromMap(<String, dynamic>{ | |
'action': 'step_passed', | |
'step_codename': stepCodename, | |
'step_num': stepNum, | |
'user_choise': userChoice, | |
'form_source': 'mobile_derivgo', | |
'form_name': 'real_signup_derivgo' | |
}), | |
); | |
} | |
/// Tracks when the user presses the next button | |
/// and the step is successfully passed. | |
void logStepPassedRealSignUp( | |
[String? stepNum, | |
String? stepCodename, | |
Map<String, dynamic>? userChoice]) { | |
DerivRudderstack().track( | |
eventName: 'ce_real_account_signup_form', | |
properties: RudderProperty.fromMap(<String, dynamic>{ | |
'action': 'step_passed', | |
'step_codename': stepCodename, | |
'step_num': stepNum, | |
'user_choice': userChoice, | |
'form_source': 'mobile_derivgo', | |
'form_name': 'real_signup_derivgo' | |
}), | |
); | |
} |
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.
@ilya-deriv I am not sure if we need to pass a list of a map as userChoice
🤔
a6f1167
to
2edf83f
Compare
66f0035
to
32b933b
Compare
https://app.clickup.com/t/20696747/DERG-2409
This PR contains the following changes:
Developers Note (Optional)
Pre-launch Checklist (For PR creator)
As a creator of this PR:
Reviewers
Pre-launch Checklist (For Reviewers)
As a reviewer I ensure that:
Pre-launch Checklist (For QA)
Pre-launch Checklist (For Maintainer)