Skip to content

LG-10658: Add analytics_id to logged Verify Info proofing result#9064

Merged
NavaTim merged 4 commits intomainfrom
tbradley/lg-10658-add-analytics-id-to-verify-result
Aug 23, 2023
Merged

LG-10658: Add analytics_id to logged Verify Info proofing result#9064
NavaTim merged 4 commits intomainfrom
tbradley/lg-10658-add-analytics-id-to-verify-result

Conversation

@NavaTim
Copy link
Contributor

@NavaTim NavaTim commented Aug 23, 2023

🎫 Ticket

🛠 Summary of changes

Differentiate between remote and in-person proofing results for LN InstantVerify and AAMVA in analytics.

Note: The approach used here adds a few additional fields to the analytics event beyond what is strictly required.

Tagging @18F/identity-ada in case the additional fields should be excluded.

Additional fields:

  • flow_path
  • step
  • irs_reproofing
  • acuant_sdk_upgrade_ab_test_bucket
  • getting_started_ab_test_bucket

📜 Testing Plan

Provide a checklist of steps to confirm the changes.

  • Complete the in-person flow up to and including the Verify Info step
  • Check that an event is logged with the following attributes:
    • name = IdV: doc auth verify proofing results
    • properties.event_properties.analytics_id = In Person Proofing
  • Complete the remote flow up to and including the Verify Info step
  • Check that an event is logged with the following attributes:
    • name = IdV: doc auth verify proofing results
    • properties.event_properties.analytics_id = Doc Auth

changelog: Internal, In-Person Proofing, Differentiate between remote and in-person flow Instant Verify / AAMVA proofing results in analytics
@NavaTim NavaTim requested review from a team and allthesignals August 23, 2023 01:45
Copy link
Contributor

@allthesignals allthesignals left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@soniaconnolly soniaconnolly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Ran through the remote flow past VerifyInfo and the log event looks as described.

end

analytics.idv_doc_auth_verify_proofing_results(**form_response.to_h)
analytics.idv_doc_auth_verify_proofing_results(**analytics_arguments, **form_response.to_h)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good idea, to merge in analytics_arguments from the calling controller! I added the ab_test_analytics_buckets here, so that can be taken out in this PR.

@NavaTim NavaTim merged commit 1c5c282 into main Aug 23, 2023
@NavaTim NavaTim deleted the tbradley/lg-10658-add-analytics-id-to-verify-result branch August 23, 2023 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants