Author SHA1 Message Date
andwatiandGitHub c7177720f9 Merge pull request #9 from andwati/fix/ga-measurement-id
Restore GA measurement ID
2026-10-07 11:35:35 +03:00
andwati 12f84af823 Restore the original GA measurement ID
PR #7 merged before the restore commit landed, leaving main on the wrong ID.
2026-10-07 11:34:09 +03:00
andwatiandGitHub dc0b223025 Merge pull request #8 from andwati/fix/cloudflare-csp
Allow Cloudflare Web Analytics in the CSP
2026-10-07 11:30:19 +03:00
andwati d931b47af2 Allow Cloudflare Web Analytics in the CSP
Cloudflare auto-injects beacon.min.js, which the CSP was blocking.
2026-10-07 11:29:43 +03:00
andwatiandGitHub dd6cc9b223 Merge pull request #7 from andwati/feat/google-analytics
Fix GA tagging and redirect legacy URLs
2026-10-07 11:23:18 +03:00
andwatiandGitHub 203ead6ef5 Merge pull request #6 from andwati/feat/google-analytics
Add Google Analytics
2026-09-30 14:29:41 +03:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ const websiteLd = {
};
const isProd = process.env.NODE_ENV === "production";
const gaId = "G-4HGRQ9QNPD";
const gaId = "G-9XLTKZF07C";
const umamiScript = process.env.PUBLIC_UMAMI_SCRIPT_URL;
const umamiId = process.env.PUBLIC_UMAMI_WEBSITE_ID;
+1 -1
View File
@@ -67,7 +67,7 @@ kind = 301
[[advanced.headers]]
source = "**"
[advanced.headers.headers]
Content-Security-Policy = "default-src 'self'; script-src 'self' 'unsafe-inline' https://utteranc.es https://analytics.andwati.com https://www.googletagmanager.com; style-src 'self' 'unsafe-inline'; img-src 'self' data: https://www.google-analytics.com https://www.googletagmanager.com; font-src 'self'; connect-src 'self' https://analytics.andwati.com https://www.google-analytics.com https://*.google-analytics.com https://*.analytics.google.com https://www.googletagmanager.com; frame-src https://www.youtube-nocookie.com https://utteranc.es; object-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors 'none'; upgrade-insecure-requests"
Content-Security-Policy = "default-src 'self'; script-src 'self' 'unsafe-inline' https://utteranc.es https://analytics.andwati.com https://www.googletagmanager.com https://static.cloudflareinsights.com; style-src 'self' 'unsafe-inline'; img-src 'self' data: https://www.google-analytics.com https://www.googletagmanager.com; font-src 'self'; connect-src 'self' https://cloudflareinsights.com https://analytics.andwati.com https://www.google-analytics.com https://*.google-analytics.com https://*.analytics.google.com https://www.googletagmanager.com; frame-src https://www.youtube-nocookie.com https://utteranc.es; object-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors 'none'; upgrade-insecure-requests"
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"