plausible / docs

Documentation for Plausible Analytics
https://plausible.io/docs
Creative Commons Attribution Share Alike 4.0 International
213 stars 194 forks source link

Fix tracking js file url #529

Closed RobertJoonas closed 1 month ago

RobertJoonas commented 1 month ago

Tracking on the docs page was broken ~3 weeks ago, when I deployed a new tracking script. The script src was working locally with the path js/tracking.js, but on production, it requires the docs subfolder prefix.

Currently the request is made to https://plausible.io/js/tracking.js which is indeed a 404. The correct url is https://plausible.io/docs/js/tracking.js.