Skip to content

Conversation

@SgtPooki
Copy link
Collaborator

@SgtPooki SgtPooki commented Feb 2, 2026

fixes #180

plausible is not enabled in local dev.

plausible is not enabled unless someone explicitly sets VITE_PLAUSIBLE_DATA_DOMAIN env var

Copilot AI review requested due to automatic review settings February 2, 2026 21:13
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds Plausible.io analytics integration to the web application to enable privacy-friendly analytics tracking.

Changes:

  • Added Plausible.io analytics script and initialization code to the HTML head section

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@FilOzzy FilOzzy added this to FOC Feb 3, 2026
@github-project-automation github-project-automation bot moved this to 📌 Triage in FOC Feb 3, 2026
@SgtPooki SgtPooki self-assigned this Feb 3, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +664 to +668
- **Required**: No
- **Default**: Empty (Plausible disabled)
- **Location**: `apps/web/.env`

**Role**: Enables Plausible analytics for the web frontend when set. The value should match the Plausible site domain
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

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

This section says the variable’s location is apps/web/.env, but Vite VITE_* values are baked in at build time. In this repo the web Docker build explicitly wires build-time env via ARG/ENV (see apps/web/Dockerfile for VITE_API_BASE_URL), so readers may incorrectly assume they can toggle Plausible at runtime by changing container env. Please clarify whether VITE_PLAUSIBLE_DATA_DOMAIN must be provided at build time (and, if so, how it’s set in Docker/K8s deployments).

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📌 Triage

Development

Successfully merging this pull request may close these issues.

Add plausible tracking

3 participants