From af41699e842675523056d64c9047fd8c0fc1031f Mon Sep 17 00:00:00 2001 From: codecalm Date: Tue, 23 Sep 2025 22:59:55 +0200 Subject: [PATCH] remove old analytics --- docs/vercel.json | 8 ++++++++ shared/includes/layout/analytics.html | 2 -- shared/layouts/docs/default.html | 2 -- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/vercel.json b/docs/vercel.json index 7ae6aa0cc..3c4ddefdd 100644 --- a/docs/vercel.json +++ b/docs/vercel.json @@ -9,6 +9,14 @@ "source": "/stats/event", "destination": "https://plausible.io/api/event" }, + { + "source": "/eat/static/:path(.*)", + "destination": "https://eu-assets.i.posthog.com/static/:path*" + }, + { + "source": "/eat/:path(.*)", + "destination": "https://eu.i.posthog.com/:path*" + }, { "source": "/(.*)", "destination": "/error-404.html" diff --git a/shared/includes/layout/analytics.html b/shared/includes/layout/analytics.html index 46b859360..12d351d44 100644 --- a/shared/includes/layout/analytics.html +++ b/shared/includes/layout/analytics.html @@ -1,5 +1,3 @@ - - {% if posthogApiKey %} - {% elsif environment == 'development' %}