I need to self-host JS (and only JS). The server is capable serving files only as-is, not processing stuff like “<%= @config_js %>”.
How to make the correct JS files for querying the https://plausible.io/api/event endpoint, not undefined in the URL?
I spent like 1-2 hours trying to make this work. You should add a feature and docs to make this easy for the user.