From c604e49f4dacce5896ab612504c98cbd516f4aa3 Mon Sep 17 00:00:00 2001 From: Adam Rutkowski Date: Thu, 27 Oct 2022 18:20:53 +0200 Subject: [PATCH] Update the snippet from js/plausible.js to js/script.js (#2395) As per https://plausible.io/docs/plausible-script --- lib/plausible_web/views/site_view.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plausible_web/views/site_view.ex b/lib/plausible_web/views/site_view.ex index ec388132d..38edb8ea1 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 """