Script not working #504
-
I want to add my own, selfhosted analytics added to my docs.
Is it possible to integrate that into my retype doc page? I tried pasting just the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I'm not sure what selfhosted analytics you use but if you use plausible(I asume that because the script tag you show looks like one generated by plausible) then just try to publish it to a domain. I had the same issue, but got it fixed after deploying the page on to a real domain. |
Beta Was this translation helpful? Give feedback.
-
Including site-wide custom JS or CSS is possible by adding your script to a More details on using Please see issue #272 for Plausible related thread. |
Beta Was this translation helpful? Give feedback.
I'm not sure what selfhosted analytics you use but if you use plausible(I asume that because the script tag you show looks like one generated by plausible) then just try to publish it to a domain.
Plausible ignores all page views from sites that are localhost(localhost or 127.0.0.1).
You can quick check that by opening the console and look id you find
Ignoring Event: localhost
in the console.I had the same issue, but got it fixed after deploying the page on to a real domain.