From 6e5400acb504590f31d2e0356ea5edafcd204c00 Mon Sep 17 00:00:00 2001 From: Chris Raible Date: Wed, 9 Jul 2025 20:53:40 -0700 Subject: [PATCH] Updated Tinybird tracker endpoint to use versioned API endpoint (#17) ref https://linear.app/ghost/issue/PROD-2270/update-the-ghost-docker-repo-to-use-the-apiv1page-hit-endpoint The Analytics Service is now using a new versioned endpoint at `/api/v1/page_hit` instead of the `/tb/web_analytics` endpoint. This update's Ghost's configuration to use this new endpoint for the tracker requests. Note: this will require a docker compose pull to get the latest version of the analytics service, which includes the new versioned endpoint. --- compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index 4319bae..68b905f 100644 --- a/compose.yml +++ b/compose.yml @@ -37,7 +37,7 @@ services: database__connection__database: ghost enableDeveloperExperiments: ${ENABLE_DEVELOPER_EXPERIMENTS:-false} labs__ActivityPub: ${ENABLE_ACTIVITYPUB:-false} - tinybird__tracker__endpoint: https://${DOMAIN:?DOMAIN environment variable is required}/.ghost/analytics/tb/web_analytics + tinybird__tracker__endpoint: https://${DOMAIN:?DOMAIN environment variable is required}/.ghost/analytics/api/v1/page_hit tinybird__tracker__datasource: analytics_events tinybird__stats__endpoint: ${TINYBIRD_API_URL:-https://api.tinybird.co} tinybird__stats__token: ${TINYBIRD_STATS_TOKEN:-}