Updated tracker script name and endpoint.
This commit is contained in:
1 parent
be8eb61f7f
commit
54051d7204
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -61,7 +61,7 @@
|
||||
const root = hostUrl
|
||||
? hostUrl.replace(/\/$/, '')
|
||||
: currentScript.src.split('/').slice(0, -1).join('/');
|
||||
const endpoint = `${root}/api/collect`;
|
||||
const endpoint = `${root}/api/send`;
|
||||
const screen = `${width}x${height}`;
|
||||
const eventClass = /^umami--([a-z]+)--([\w]+[\w-]*)$/;
|
||||
const eventSelect = "[class*='umami--']";
|
||||
|
||||
Reference in new issue
Block a user