Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions app/services/analytics_events.rb
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,8 @@ def idv_in_person_ready_to_verify_visit(proofing_components: nil, **extra)
)
end

# User has consented to share information with document upload and may
# view the "hybrid handoff" step next unless "skip_upload" param is true
def idv_doc_auth_agreement_submitted(**extra)
track_event('IdV: doc auth agreement submitted', **extra)
end
Expand Down Expand Up @@ -908,10 +910,15 @@ def idv_doc_auth_submitted_pii_validation(
)
end

# The "hybrid handoff" step: Desktop user has submitted their choice to
# either continue via desktop ("document_capture" destination) or switch
# to mobile phone ("send_link" destination) to perform document upload.
# Mobile users sill log this event but with skip_upload_step = true
def idv_doc_auth_upload_submitted(**extra)
track_event('IdV: doc auth upload submitted', **extra)
end

# Desktop user has reached the above "hybrid handoff" view
def idv_doc_auth_upload_visited(**extra)
track_event('IdV: doc auth upload visited', **extra)
end
Expand Down