Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Added tracking

Blue Mouse2afbb7239fa4
diff --git a/public/index.html b/public/index.html
index 7b97f75f9..a5077006e 100644
--- a/public/index.html
+++ b/public/index.html
@@ -13,9 +13,17 @@
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<title>Swetrix Analytics</title>
+ <script src="https://cdn.jsdelivr.net/gh/Swetrix/swetrix-js@main/dist/swetrix.js" defer></script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
+
+ <script>
+ document.addEventListener('DOMContentLoaded', () => {
+ swetrix.init('STEzHcB1rALV')
+ swetrix.trackViews()
+ })
+ </script>
</body>
</html>