GuidesWeb

Wix analytics, cookieless and EU-hosted

Paste one snippet into Wix. Cookieless page views that need no consent banner.

Privytics adds cookieless, EU-hosted analytics to your Wix site through a single snippet you paste into Wix's Custom Code box. There is no coding: open the box, paste, save, done. Wix has its own basic stats, but they do not give you full product analytics, and because Privytics sets no cookies, it adds no consent banner for EU visitors. One thing to know up front: Wix only shows the Custom Code box on a published site with a connected custom domain, which in practice means a paid Wix Premium plan.

Why Wix teams use Privytics

No cookie banner to add

The snippet sets no cookies and stores nothing on the visitor's device. People are counted with an anonymous id that resets every day, so for anonymous visits there is nothing to consent to.

Your data is stored in the EU

Every event is stored in EU data centres in Germany. You stay the data controller, which keeps things simple for your European visitors.

More than basic visit counts

Wix shows simple stats. Privytics runs the open-source OpenPanel engine for deeper product analytics, with session replay and five-year event history on paid plans, and twelve months on the free plan.

Free to start, no card

The free plan covers 10,000 events per month with no credit card. Paste the snippet today and upgrade later only if you outgrow it.

Set it up

About five minutes, on the free plan, without a credit card.

  1. Open the Custom Code box in Wix

    In your Wix account, go to your Site dashboard, then Settings, then Custom Code, then click + Add Custom Code. Note: this box only appears on a published site with a connected custom domain, which usually means a paid Wix Premium plan. If you do not see Custom Code, that plan requirement is the reason.

    Site dashboard  >  Settings  >  Custom Code  >  + Add Custom Code
  2. Paste the snippet and add your client id

    Paste both tags below into the box. Replace YOUR_CLIENT_ID with the client id from your Privytics project. Set Place Code in to Head, set Add Code to Pages to All pages, and choose to load the code once. Click Apply, then publish your site. Wix can cache pages, so give it a moment and refresh if you do not see it right away.

    <script>
      window.op=window.op||function(){var n=[];return new Proxy(function(){arguments.length&&n.push([].slice.call(arguments))},{get:function(t,r){return"q"===r?n:function(){n.push([r].concat([].slice.call(arguments)))}} ,has:function(t,r){return"q"===r}}) }();
      window.op('init', {
        apiUrl: 'https://api.privytics.com',
        clientId: 'YOUR_CLIENT_ID',
        trackScreenViews: true,
        trackOutgoingLinks: true,
      });
    </script>
    <script src="https://privytics.com/op1.js" defer async></script>
  3. Watch your first page views arrive

    Open your live site in a new tab and click through a few pages. Then open Privytics: your page views show up on their own, usually within a minute. Page views are tracked automatically, so there is nothing else to wire up.

    Visit your live site, click through a few pages, then open Privytics.

Questions

Do I need a paid plan?

Privytics is free for up to 10,000 events a month with no card. The one cost is on the Wix side: the Custom Code box only appears on a published Wix site with a connected custom domain, which in practice needs a paid Wix Premium plan.

Do I still need a cookie banner?

The snippet writes nothing to the device and sends no cookie, so for anonymous visits there is nothing to consent to. You remain the data controller.

Where is my data stored?

In the EU, in Germany. History is kept for five years on paid plans and for twelve months on the free plan.

Can I track button clicks or events?

Page views are tracked automatically once the snippet is in, and for most Wix sites that is all you need. Custom events are the one thing Wix makes hard: its HTML embeds run in sandboxed frames that cannot reach the tracker, and native buttons do not accept custom code. Firing your own events on Wix needs Wix Velo, which is developer work.