chore: remove Plausible analytics #19

Merged
jlxq0 merged 1 commit from chore/remove-plausible into main 2026-11-09 01:39:15 +00:00
Owner

Changed

  • Root layout: script tag removed. router.ex: put_analytics plug removed. config/runtime.exs: ANALYTICS_DOMAIN no longer read.
  • page_controller_test.exs: the third-party test now asserts that marketing pages load nothing from another host. Its control used to be finding stats.oddie.app, so it is replaced by two others: the extractor must find a host in a known-positive line, and every page must render its stylesheet.
  • policy_controller_test.exs: the privacy policy describes the analytics the site actually runs removed. It pinned the Plausible wording, which would otherwise fail when the policy is reworded.

Privacy policy: needs a wording decision

priv/policies/privacy-policy.md is unchanged (lines 43-52) and still says the site counts page views with self-hosted Plausible, which stops being true once this ships. The policy is a vendored copy; the same text is in thehansogroup/eltrix_server docs/privacy-policy.md.

Tests

mix ci (format check, unused deps, compile --warnings-as-errors, assets, tests): 16 passed, 4 excluded.

Deploy

Merging ships nothing. Beta builds from a push to beta. Www needs a vX.Y.Z tag, then a bump of the v0.1.0 digest pin in oddie-apps/platform.

🤖 Generated with Claude Code

https://claude.ai/code/session_01E2xQRdGC3g7vD79puJX5vq

## Changed - Root layout: script tag removed. `router.ex`: `put_analytics` plug removed. `config/runtime.exs`: `ANALYTICS_DOMAIN` no longer read. - `page_controller_test.exs`: the third-party test now asserts that marketing pages load nothing from another host. Its control used to be finding `stats.oddie.app`, so it is replaced by two others: the extractor must find a host in a known-positive line, and every page must render its stylesheet. - `policy_controller_test.exs`: `the privacy policy describes the analytics the site actually runs` removed. It pinned the Plausible wording, which would otherwise fail when the policy is reworded. ## Privacy policy: needs a wording decision `priv/policies/privacy-policy.md` is **unchanged** (lines 43-52) and still says the site counts page views with self-hosted Plausible, which stops being true once this ships. The policy is a vendored copy; the same text is in `thehansogroup/eltrix_server` `docs/privacy-policy.md`. ## Tests `mix ci` (format check, unused deps, `compile --warnings-as-errors`, assets, tests): 16 passed, 4 excluded. ## Deploy Merging ships nothing. Beta builds from a push to `beta`. Www needs a `vX.Y.Z` tag, then a bump of the `v0.1.0` digest pin in `oddie-apps/platform`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01E2xQRdGC3g7vD79puJX5vq
chore: remove Plausible analytics
All checks were successful
CI / Quality gate (pull_request) Successful in 16s
CI / Build and push image (pull_request) Has been skipped
01c3fb2b26
Remove the script tag, the put_analytics plug and ANALYTICS_DOMAIN. The privacy policy text is left as it is and still names Plausible.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E2xQRdGC3g7vD79puJX5vq
jlxq0 merged commit e1e5b46147 into main 2026-11-09 01:39:15 +00:00
jlxq0 deleted branch chore/remove-plausible 2026-11-09 01:39:16 +00:00
jlxq0 referenced this pull request from a commit 2026-11-09 01:39:17 +00:00
Sign in to join this conversation.
No description provided.