-
Notifications
You must be signed in to change notification settings - Fork 166
LG-11427: add phone_with_camera to analytics #9461
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
Changes from all commits
27f5bea
7a04a4a
bd2b351
cdfb57f
a553c2e
e38333e
4aa14d7
f966b10
856a2ee
36cb247
ef79e50
a53a604
9281665
9e4dbed
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,20 +16,16 @@ def show | |
| end | ||
|
|
||
| def phone_with_camera | ||
| analytics.idv_doc_auth_phone_question_submitted( | ||
| **analytics_arguments. | ||
| merge(phone_with_camera: true), | ||
| ) | ||
| idv_session.phone_with_camera = true | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @amirbey , so basically user is presented(based on bucket) this question, and answered with true or false. If user is not presented with question, this flag will be nil.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. correct 👍🏿 |
||
| analytics.idv_doc_auth_phone_question_submitted(**analytics_arguments) | ||
|
|
||
| redirect_to idv_hybrid_handoff_url | ||
| end | ||
|
|
||
| def phone_without_camera | ||
| idv_session.flow_path = 'standard' | ||
| analytics.idv_doc_auth_phone_question_submitted( | ||
| **analytics_arguments. | ||
| merge(phone_with_camera: false), | ||
| ) | ||
| idv_session.phone_with_camera = false | ||
| analytics.idv_doc_auth_phone_question_submitted(**analytics_arguments) | ||
|
|
||
| redirect_to idv_document_capture_url | ||
| end | ||
|
|
||
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.
phone_question_ab_test_concernhybrid_mobile/document_capture_controller.rbwe also need to do inidv/document_capture_controller.rb?Uh oh!
There was an error while loading. Please reload this page.
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.
@charleyf - this is present because we don't have idv session here .. this logic is exclusive to the hybrid document capture