Site builders
Wix analytics with CrispStats
To add CrispStats to a Wix site, open Settings, Custom Code in the site dashboard, add the script tag, load it on all pages and place it in the head. Wix's help page says custom code needs a published site with a connected domain, and Wix only connects a domain to a site with a Premium plan.
Updated
Set up CrispStats on Wix
- 01
Step 1: Publish the site and connect a domain
Wix’s help page on custom code says to “make sure that your site is published and has a connected domain” before you add code. Wix’s domain documentation adds that a domain can only be connected to a site with an active Premium plan, so a free Wix site cannot add the tag.
- 02
Step 2: Copy the tag with your key
In the CrispStats dashboard, open your site’s Settings, select Tracking code and copy the tag from the HTML tab. Replace
example.comwith your connected domain if it is not filled in. The public key starts withcs_pk_and is safe to publish.Replace the highlighted values with your own.
<scriptdeferdata-site="cs_pk_your_site_key"data-domains="example.com"src="https:/ / in. crispstats. com/ d. js"></script> - 03
Step 3: Open Custom Code in the Wix dashboard
In your site’s dashboard, open Settings and select Custom Code, under Development & integrations. Select + Add Custom Code at the top right.
- 04
Step 4: Paste, place and apply
Paste the tag and name it CrispStats. Under Add Code to Pages, choose All pages, which also covers pages you add later, and load it once per visit. Under Place Code in, choose Head. Select Apply.
- 05
Step 5: Turn on extra events (optional)
Edit the custom code and add attributes to the tag.
data-outboundcounts clicks to other sites anddata-downloadscounts file downloads:<scriptdeferdata-site="cs_pk_your_site_key"data-domains="example.com"data-outbounddata-downloadssrc="https:/ / in. crispstats. com/ d. js"></script>
Check that it works
Open your site on its connected domain in a normal browser window, not in the editor, with the developer tools on the Network tab. You should see d.js load from in.crispstats.com and a POST to /e that gets 202. Click through a few pages: each page change sends another POST, and the pages appear on the Realtime screen within seconds. The status row on the Tracking code tab shows Receiving events. If nothing arrives, check that data-domains names the domain visitors use.
CrispStats on Wix
What you get
- Pageviews, unique visitors and sessions for every page of the site, including page changes that happen without a full reload.
- Sources and channels: search, social, email and ad campaigns tagged with UTM parameters, and visits from AI assistants such as ChatGPT and Perplexity.
- Entry and exit pages, countries, devices and browsers, with no cookies and no IP addresses stored.
- Form submissions as goals: make the form’s thank-you page a goal with a Page visit rule, then build a funnel from the pages before it.
- Uptime monitoring for the live site with alerts when it goes down, on every plan.
Notes and limits
- Wix’s help page says Google Analytics, Google Tag Manager and the Facebook and TikTok pixels do not work through custom code, so load CrispStats with the plain script tag above, not through a tag manager.
- If the code also runs again on each page, the second copy of the script does nothing, so visits are never counted twice. The same URL twice in a row is one pageview.
- Wix cannot run the forwarding rule that serves the script from your own domain, so the script loads from
in.crispstats.comand visitors whose ad blocker stops that host are not counted. See the proxy guide for what the rule needs. - There is no Wix app and no built-in Wix Stores integration. Orders can be reported as revenue from a server you run with the payment API; otherwise CrispStats shows traffic and conversions, not sales.
- Keep your own visits out by setting
localStorage.crispstats_ignoreonce in your browser. See exclude traffic.
The docs page covers the optional steps this guide leaves out.
Setup questions. Straight answers.
What people ask before they connect it.
Wix's help page says custom code needs a site that is published and has a connected domain. Publish the site and connect your domain, then look again under Settings.
Wix's help page on custom code, read on 2026-11-23, names no specific plan, but it asks for a connected domain, and Wix connects a domain only to a site with an active Premium plan. In practice that means any Premium plan.
No. Wix says Google Tag Manager does not work through custom code. Paste the script tag itself as custom code instead.
Wix's custom code setting can load code on all pages or on chosen ones. Choose all pages; to leave out a section such as a members area, keep all pages and list its paths in data-exclude instead.
On the CrispStats side, nothing for the first 14 days: every account starts with a 14-day free trial with every feature and no card. After that Starter is $5 a month for 250,000 events. The Premium plan Wix needs for a connected domain is billed by Wix.
Not answered here? Write to hello@crispstats.com
Go further
Related
- Do you need a cookie banner for analytics?
When analytics needs consent: what the device storage rule covers, where GDPR comes in, and a checklist.
- Funnels and goals
Find the step where people leave, and count what matters.
- UTM parameters: a practical guide
What the five UTM parameters do, a naming convention you can copy, the mistakes that split your reports, and how the medium decides the channel.
- Privacy-friendly analytics for bloggers
See which posts get read to the end, where readers come from, including AI assistants, and keep your site free of analytics cookies.
- Squarespace analytics
Add CrispStats to Squarespace by pasting one script tag into the Header field of Code Injection.
Other integrations
Site builders
Frameworks
Ecommerce platforms
Tag managers
Your traffic, crisp and clear
One script, no cookies, and every feature from the first day. Set up takes about as long as pasting a snippet.