diff --git a/dev-docs/astro.config.mjs b/dev-docs/astro.config.mjs index e0dd26a..4542a30 100644 --- a/dev-docs/astro.config.mjs +++ b/dev-docs/astro.config.mjs @@ -39,8 +39,11 @@ export default defineConfig({ tag: 'script', attrs: { defer: true, - src: 'https://analytics.jellyrock.app/script.js', + // First-party Umami tracker via the same-origin /_a proxy + // (ADR-0006) so the CSP can stay strict script-src 'self'. + src: '/_a/script.js', 'data-website-id': 'de160b80-2b3e-488e-b9df-d9a92ca42e1c', + 'data-host-url': 'https://dev.jellyrock.app/_a', }, }, ], diff --git a/user-docs/astro.config.mjs b/user-docs/astro.config.mjs index 7a4a788..639b4ce 100644 --- a/user-docs/astro.config.mjs +++ b/user-docs/astro.config.mjs @@ -22,8 +22,11 @@ export default defineConfig({ tag: 'script', attrs: { defer: true, - src: 'https://analytics.jellyrock.app/script.js', + // First-party Umami tracker via the same-origin /_a proxy + // (ADR-0006) so the CSP can stay strict script-src 'self'. + src: '/_a/script.js', 'data-website-id': 'f86f75e9-4236-40c4-bf32-7ef74f1939d8', + 'data-host-url': 'https://docs.jellyrock.app/_a', }, }, ],