Skip to content

feat: analytics tracking - #5

Merged
jooakar merged 1 commit into
mainfrom
feat/analytics-tracking
Sep 23, 2026
Merged

jooakar merged 1 commit into
mainfrom
feat/analytics-tracking

Conversation

@jooakar

@jooakar jooakar commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings September 23, 2026 12:38

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.

Copilot review overview

🟡 Changes recommended

The analytics script creates a critical credential-exposure risk.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity

Open (1)
What changed in this PR

Adds Umami analytics tracking to the web application.

Changes:

  • Loads the analytics script and site identifier on production pages.
File Review
packages/​web/​index.html Critical (3 votes): The third-party script runs with origin privileges across all routes, including /admin, and could expose localStorage user IDs and admin credentials. Isolate or replace the script and exclude authenticated pages.

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

Comment thread packages/web/index.html
Comment on lines +9 to +11
<script defer src="https://analytics.tietokilta.fi/script.js"
data-website-id="a8c90469-4e37-4b1b-bd8e-3cd5929fc71c"
data-domains="kurssikone.com,www.kurssikone.com"></script>
@jooakar
jooakar merged commit 213899f into main Sep 23, 2026
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.

2 participants