Skip to content
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

Application Insights front-end telemetry #607

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

DrizzlyOwl
Copy link
Collaborator

What has been changed?

User telemetry is now available in App Insights if the user opts into Analytical Cookies.
This data will include browser-based metrics such as page speed and Time-til First Byte (TTFB). I have set the AuthenticatedUserContext which means we can track individual user sessions throughout their journey. In addition, I have also included the click tracking plugin which enables us to have almost feature parity with Google Analytics and Google Tag Manager.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Steps to test this PR

  1. Accept Analytical Cookies
  2. Sign-in using DFE Sign-in
  3. View front-end telemetry in App Insights

nwarms
nwarms previously approved these changes Jun 3, 2024
Copy link

sonarcloud bot commented Jun 11, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

- Set the authenticated user's email if they are logged in
- Initialise and invoke App Insights front-end telemetry if cookie consent
- Added integrity hash to AI click plugin
- Add app insights src to CSP whitelist
Copy link

sonarcloud bot commented Sep 16, 2024

@DrizzlyOwl DrizzlyOwl merged commit 29e8929 into master Sep 16, 2024
2 checks passed
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