mirror of
https://github.com/plausible/analytics.git
synced 2024-12-29 20:42:01 +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
|
if site.custom_domain do
|
||||||
"https://" <> site.custom_domain.domain <> "/js/index.js"
|
"https://" <> site.custom_domain.domain <> "/js/index.js"
|
||||||
else
|
else
|
||||||
"#{plausible_url()}/js/plausible.js"
|
"#{plausible_url()}/js/script.js"
|
||||||
end
|
end
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user