Wix

Wix lets you add custom code through its Custom Code panel. One important detail: a <script> snippet has to go in the Body, not the Head — the snippet still loads on every page and works exactly the same.

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.

<!-- 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>

2. Add it in Custom Code

In your site’s dashboard, go to Settings → Custom Code and choose + Add Custom Code. Paste the snippet, give it a name, set Add Code to Pages to All pages, and under Place Code in choose Body – start. Then Apply.

Heads up

Don’t use the Head placement — Wix rejects <script> tags there (it allows only meta and link tags), so the snippet won’t validate. Choose Body – start instead. Custom Code also requires a Premium plan with a connected domain on a published site.

Verify

Open Realtime in Wazlytics and load a page on your published site — your visit should appear within a few seconds. If nothing shows up, the troubleshooting guide covers the usual causes.