I’m currently self-hosting Ghost 6 via Docker and have endeavored to activate analytics using Tinybird. After following the official installation instructions (“Enabling Web Analytics”) and successfully connecting my TinyBird instance, I fired up the containers (including --force-recreate due to the changes in .env) but found that no analytic data was being processed.
While I am seeing no traffic or updates within the Ghost admin page itself (and I did double-check that Settings > Analytics were all checked) what I found more interesting is that the traffic-analytics container doesn’t seem to be receiving any requests, with its log file reporting only the following, with no updates as visitors browse the site:
30 timestamp={"seconds":1772786654,"nanos":111000000} pid=1 hostname=5cff13b469f1 event=SaltCleanupSchedulerStarting delayMinutes=46
(node:1) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
40 timestamp={"seconds":1772786654,"nanos":512000000} pid=1 hostname=5cff13b469f1 event=HmacValidationDisabled
30 Server listening at http://127.0.0.1:3000 | timestamp={"seconds":1772786654,"nanos":768000000} pid=1 hostname=5cff13b469f1
30 Server listening at http://172.19.0.2:3000 | timestamp={"seconds":1772786654,"nanos":768000000} pid=1 hostname=5cff13b469f1
30 severity=INFO timestamp={"seconds":1772786669,"nanos":7000000} pid=1 hostname=5cff13b469f1 logging.googleapis.com/diagnostic={"instrumentation_source":[{"name":"nodejs-gcppino","version":"1.3.1"},{"name":"nodejs","version":"11.2.1"}],"runtime":"v22.22.0"} logging.googleapis.com/insertId=..........xxxxxxxxxxxx
30 timestamp={"seconds":1772789414,"nanos":196000000} pid=1 hostname=5cff13b469f1 event=SaltCleanupCompleted deletedCount=0
It appears as though page requests are not passing from the primary container to the analysis container, which means TinyBird also doesn’t receive any data.
I’ve looked through similar Forum posts like “Analyticts [sic] Are Not Logging” and “Traffic Analytics empty despite no errors” but unfortunately neither of their situations or solutions exactly match my own.
I’d greatly appreciate any help or support for where I should look next or how I should continue troubleshooting this issue, as I’d really love to get analytics working within the Ghost ecosystem.