mirror of
https://github.com/plausible/analytics.git
synced 2024-12-29 04:22:34 +03:00
Update the snippet from js/plausible.js to js/script.js (#2395)
As per https://plausible.io/docs/plausible-script
This commit is contained in:
parent
7ccbc5d432
commit
c604e49f4d
@ -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
|
||||
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user