Skip to main content
Free5 minutesBeginner

Wix Integration

Add Zenovay analytics to your Wix website through Settings → Custom Code → Head. Works on Wix Premium and above; includes Wix Velo developer hooks.

wixcmsno-codeintegrationtracking-script
Last updated:

Add Zenovay to your Wix website in under five minutes. The integration is no-code on every Wix Premium plan, and Wix Velo developers can use the full event API.

Wix's Custom Code feature requires a Premium plan or higher. Wix Free does not allow third-party scripts.

Quick Start

  1. Copy your tracking snippet from the Zenovay dashboard.
  2. In your Wix admin, go to Settings → Custom Code.
  3. Click + Add Custom Code and paste the snippet.
  4. Set Add Code to Pages to All pages → Load code on each new page, Place Code in to Head.
  5. Click Apply, then Publish your site.

Installation

Custom Code (Standard Wix editor)

  1. Open your Wix site dashboard.
  2. Click Settings (gear icon in the left sidebar).
  3. Open Custom Code.
  4. Click + Add Custom Code.
  5. Paste this snippet:
<script defer data-tracking-code="YOUR_TRACKING_CODE" src="https://api.zenovay.com/z.js"></script>
  1. Configure:
    • Add Code to Pages: All pages → Load code on each new page
    • Place Code in: Head
    • Name: Zenovay Analytics
  2. Click Apply.
  3. Click Publish at the top of the editor. Custom Code only runs on the published site, not in preview.

Wix Studio (newer editor)

In Wix Studio the path is slightly different:

  1. Go to Site Settings → Tracking & Analytics → + New Tool.
  2. Choose Custom.
  3. Paste the same snippet into the Head slot.
  4. Save and publish.

Wix Velo (for developers)

If your site uses Velo and you need access to window.zenovay() events, install via masterPage.js:

import wixWindow from 'wix-window';

$w.onReady(() => {
  if (wixWindow.rendering.env !== 'browser') return;
  const s = document.createElement('script');
  s.defer = true;
  s.src = 'https://api.zenovay.com/z.js';
  s.setAttribute('data-tracking-code', 'YOUR_TRACKING_CODE');
  document.head.appendChild(s);
});

Verify your installation

  1. Open your published Wix site in an incognito window.
  2. Right-click → View Page Source (or Cmd/Ctrl+U).
  3. Look for <script defer data-tracking-code=...> near the top.
  4. Open your Zenovay real-time view — your visit appears within ~30 seconds.

Tracking custom events

Once the tracker loads (after DOMContentLoaded), call window.zenovay() from any Velo page or HTML embed:

if (window.zenovay) {
  window.zenovay('track', 'lead_form_submitted', {
    form_id: 'homepage-cta',
    page: window.location.pathname,
  });
}

For form submissions, attach the call to your form's onWixFormSubmit callback in Velo.

Identify Wix Members

If you use Wix Members, identify the visitor with a stable ID after sign-in:

import { currentMember } from 'wix-members';

currentMember.getMember().then(member => {
  if (member && window.zenovay) {
    window.zenovay('identify', {
      userId: member._id,
      email: member.loginEmail,
    });
  }
});

Troubleshooting

No data showing. Make sure you clicked Publish in the editor (Custom Code is stripped from the preview). Wait 1–2 minutes after publishing for the CDN cache to update, then force-refresh with Cmd/Ctrl+Shift+R.

"Custom Code" option missing. You're on Wix Free. Upgrade to any Premium plan ($16/mo or higher) to enable Custom Code.

Some pages tracked, others not. Check that Add Code to Pages is set to All pages and Load code on each new page is selected.

Double pageviews. You probably have the snippet in both Custom Code AND a Velo install. Pick one.

Plan requirements

Wix planTracking works?
Free❌ No Custom Code
Combo / Unlimited / Pro✅ Yes
Business / VIP✅ Yes + Velo hooks + server-side
Studio (any tier)✅ Yes (via Tracking & Analytics panel)

Privacy

Zenovay supports a fully cookieless mode for compliance with GDPR/ePrivacy. Add data-cookieless="true" to the snippet:

<script defer
        data-tracking-code="YOUR_TRACKING_CODE"
        data-cookieless="true"
        src="https://api.zenovay.com/z.js"></script>

In this mode no cookies or local storage entries are set.

Next steps

Was this article helpful?