blog.thms.uk

Adding Plausible to Uptime Kuma Status Page

Since version 2.1, Uptime Kuma supports adding Plausible to its status pages. However, the setup is unintuitive and not documented: it asks for an Analytics ID and an Analytics Script URL.

These field names are generic, and when you create a site in Plausible, neither value is explicitly provided. Instead, Plausible gives you a single script snippet to copy and paste. That script contains what appears to be an ID (a random alphanumeric string prefixed with pa-), but this is not the Analytics ID that Uptime Kuma expects. In fact, none of the required values are shown directly in Plausible’s installation instructions.

Having had a look at the code, it becomes clear what Uptime Kuma actually expects:

  1. Analytics ID
    This is simply your status page domain, for example status.example.com. It must match the domain you configured when creating the site in Plausible.

  2. Analytics Script URL
    This is the legacy (pre–October 2025) script URL, which is the same for all sites. For Plausible Cloud, use https://plausible.io/js/script.js. If you are running Plausible Community Edition, replace plausible.io with your own Plausible instance domain.

Once these two values are entered into the Status Page configuration in Uptime Kuma, Plausible tracking should function correctly.