Skip to main content
To add tinyanalytics to a Wix site, paste the tracking snippet into Custom Code and apply it to every page’s <head>. Wix loads it site-wide, including across its client-side page transitions.
Custom Code requires a Wix Premium (paid) plan. On the free plan, Wix doesn’t allow adding custom code, so this method isn’t available.

Before you start

  • A tinyanalytics site. If you don’t have one yet, follow the Quickstart.
  • Your snippet from Settings → Tracking in your dashboard.
  • A Wix Premium plan.

Add the snippet to Custom Code

1

Open Custom Code

In your Wix site dashboard, go to Settings → Custom Code (under Advanced).
2

Add a new code snippet

Click + Add Custom Code and paste your tinyanalytics snippet:
3

Apply it site-wide

Set Add Code to Pages to All pages, choose Load code once, and place the code in the Head. Give it a name and click Apply.
Replace YOUR_SITE_ID with your real site ID. Wix moves between pages on the client, and tinyanalytics records those route changes automatically (SPA tracking is on by default), so one snippet covers your whole site.

Verify

Open your Wix site in a browser, then check Realtime in your dashboard for your visit. See Verify your setup for the full check.
Your install is working when your own visit appears in Realtime in your dashboard.

Install on any platform

The universal method and other platforms.

Configure the tracking script

Every data-* option you can set.

Track custom events

Measure signups and clicks.

Verify your setup

Confirm tracking works.