Closed rolikeusch closed 1 month ago
Hi @rolikeusch, the swetrix.js is not a part of standard selfhosted releases and can be:
@latest
in that URL to any specific version from swetrix-js releases).npm i swetrix
.In both of these scripts you can configure your selfhosted API URL using apiURL
parameter of the swetrix.init
function, see more docs on this here: https://docs.swetrix.com/swetrix-js-reference
I hope this helps, let me know if you have any more questions.
thanks for the information. I am using the Docker version, it looks like this will be a little more complicated.
i installed the self hosted version, but when i click on the link to get the javascript tracking code i see the following output:
where can I set my own url? and where is the swetrix.js located in the self hosted version?