Replit
On Replit you edit your project’s code directly, so installing Wazlytics is just a matter of adding the snippet to your HTML <head>.
1. Get your snippet
Each site has its own snippet with a unique script URL. Copy the exact one from your dashboard’s Install step, with your site’s ID in place of wa-XXXXXXXX.
2. Add it to your HTML
For a plain HTML site, open index.html in the Replit editor and paste the snippet inside <head>:
<head>
<!-- …existing tags… -->
<!-- Privacy-friendly analytics by Wazlytics -->
<script async src="https://wazlytics.com/js/wa-XXXXXXXX.js"></script>
<script>
window.wazlytics = window.wazlytics || function(){(wazlytics.q = wazlytics.q || []).push(arguments)};
wazlytics.init = wazlytics.init || function(o){ wazlytics.o = o || {} };
wazlytics.init()
</script>
</head>Then redeploy so the change is live.
Tip
Verify
Open Realtime in Wazlytics and load your deployed page — your visit should appear within a few seconds. If nothing shows up, the troubleshooting guide covers the usual causes.