Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

592 B
Raw Blame
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Plausible Playwright tests</title>
    <script
      async
      event-author="John"
      event-foo="bar"
      src="/tracker/js/plausible.local.pageview-props.js"
    ></script>
  </head>

  <body>
    <button
      id="custom-event-button"
      onclick="plausible('Custom event', { props: { author: 'Karl' } })"
    >
      Custom event
    </button>
  </body>
</html>