Skip to content
Discussion options

You must be logged in to vote

@andreasscherman Thanks for your kind words!

The endpoint for the autogenerated tracking script is a configurable value. You can set the endpoint in plausible.init call, example below.

<!doctype html>
<html lang="en">

<head>
  <!-- Privacy-friendly analytics by Plausible -->
  <script async src="https://plausible.example.com/js/pa-....js"></script>
  <script>
    window.plausible = window.plausible || function () { (plausible.q = plausible.q || []).push(arguments) }, plausible.init = plausible.init || function (i) { plausible.o = i || {} };
    plausible.init({ endpoint: "https://plausible.example.com/api/event" })
  </script>
</head>

<body>
  demo
</body>

</html>

There's a few other o…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andreasscherman
Comment options

Answer selected by andreasscherman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants