Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Update the snippet from js/plausible.js to js/script.js (#2395)

Adam Rutkowskic604e49f4dac
diff --git a/lib/plausible_web/views/site_view.ex b/lib/plausible_web/views/site_view.ex
index ec388132d4..38edb8ea19 100644
--- a/lib/plausible_web/views/site_view.ex
+++ b/lib/plausible_web/views/site_view.ex
@@ -43,7 +43,7 @@ defmodule PlausibleWeb.SiteView do
if site.custom_domain do
"https://" <> site.custom_domain.domain <> "/js/index.js"
else
- "#{plausible_url()}/js/plausible.js"
+ "#{plausible_url()}/js/script.js"
end
"""