Skip to content

[DO NOT MERGE] Stream web analytics data to Umami - #187

Draft
sjlegg wants to merge 10 commits into
mainfrom
umami
Draft

[DO NOT MERGE] Stream web analytics data to Umami#187
sjlegg wants to merge 10 commits into
mainfrom
umami

Conversation

@sjlegg

@sjlegg sjlegg commented Aug 18, 2026

Copy link
Copy Markdown
  • JS snippet in <head> to stream web analytics data to Umami (NHSE-hosted in AWS)
  • Self-host JS snippet to mitigate script injection vulnerability
  • GitHub Action to automate snippet updates (nightly; creates a PR for human review)
  • New privacy policy
  • Add link to privacy policy to footer

@sjlegg
sjlegg requested review from csutter and a balanced review from Copilot August 18, 2026 16:04
@frankieroberto
frankieroberto temporarily deployed to dpsp-website-umami-dvheupcg8z0 August 18, 2026 16:04 Inactive

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds Umami web analytics and documents the associated privacy handling.

Changes:

  • Injects the Umami analytics script site-wide.
  • Adds and links a new privacy policy.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
eleventy.config.mjs Adds footer link and analytics transform.
app/privacy-policy.md Documents analytics data processing.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread app/privacy-policy.md Outdated
Comment thread eleventy.config.mjs Outdated

This comment was marked as outdated.

@sjlegg sjlegg linked an issue Aug 19, 2026 that may be closed by this pull request
@annapowellsmith-nhs
annapowellsmith-nhs marked this pull request as draft August 19, 2026 14:00
@frankieroberto
frankieroberto temporarily deployed to dpsp-website-umami-dvheupcg8z0 August 19, 2026 15:10 Inactive
@frankieroberto
frankieroberto temporarily deployed to dpsp-website-umami-dvheupcg8z0 August 19, 2026 15:50 Inactive
@frankieroberto
frankieroberto temporarily deployed to dpsp-website-umami-dvheupcg8z0 August 19, 2026 15:51 Inactive
@sjlegg
sjlegg requested a balanced review from Copilot August 19, 2026 15:52

This comment was marked as resolved.

This comment was marked as resolved.

@frankieroberto
frankieroberto temporarily deployed to dpsp-website-umami-dvheupcg8z0 August 19, 2026 16:23 Inactive

This comment was marked as resolved.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@frankieroberto
frankieroberto temporarily deployed to dpsp-website-umami-dvheupcg8z0 August 19, 2026 16:33 Inactive
@frankieroberto
frankieroberto temporarily deployed to dpsp-website-umami-dvheupcg8z0 August 19, 2026 16:40 Inactive
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.

Add privacy-friendly analytics

3 participants