Skip to content

Add support for Privacy Act brochure site redirect logging#11031

Merged
aduth merged 2 commits intomainfrom
aduth-privacy-act-policy-url-redirect
Aug 7, 2024
Merged

Add support for Privacy Act brochure site redirect logging#11031
aduth merged 2 commits intomainfrom
aduth-privacy-act-policy-url-redirect

Conversation

@aduth
Copy link
Copy Markdown
Contributor

@aduth aduth commented Aug 5, 2024

🎫 Ticket

Supports LG-14093

🛠 Summary of changes

Adds support for the Redirect::PolicyController to redirect with logging to https://login.gov/policy/our-privacy-act-statement/

This is meant to help support LG-14093, which will help identify how many users may exit sign-in using one of the available brochure site links on the Sign In page. Currently, we have no logging insights to clicks on these links.

This updates the "Security Practices and Privacy Act Statement" link to use the redirect controller since support already existed for this, but does not yet update the "Privacy Act Statement" link. That link will be updated in a separate pull request to avoid issues with 50/50 deploy state.

📜 Testing Plan

  1. In a separate terminal process, run make watch_events
  2. Go to http://localhost:3000
  3. Click "Security Practices and Privacy Act Statement"
  4. See "Policy Page Redirect" event in events logging with redirect_url of https://www.login.gov/policy/
  5. Go to http://localhost:3000/redirect/policy?policy=privacy_act_statement
  6. See "Policy Page Redirect" event in events logging with redirect_url of https://www.login.gov/policy/our-privacy-act-statement/

changelog: Internal, Analytics, Add support for Privacy Act brochure site redirect logging
@aduth aduth requested a review from a team August 5, 2024 19:10
Copy link
Copy Markdown
Contributor

@kevinsmaster5 kevinsmaster5 left a comment

Choose a reason for hiding this comment

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

Looks good, tests out locally 👍

@aduth aduth merged commit 76b55dc into main Aug 7, 2024
@aduth aduth deleted the aduth-privacy-act-policy-url-redirect branch August 7, 2024 17:02
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.

2 participants