Wix
Wix has a Custom Code panel for exactly this job. One snippet in the Head, applied to all pages, and Clickport tracks your whole site: pageviews, engagement, outbound clicks, forms, and frustration signals.
Requirements. Wix only runs custom code on a published site with a connected domain, and connecting a domain requires a Premium or Studio plan. On the free
wixsite.com address, custom code is not available.
Install the snippet
- In Clickport, add your site and copy your tracking snippet:
<script defer data-domain="yoursite.com"
src="https://clickport.io/tracker.js"></script>
- In your Wix dashboard, go to Settings and open Custom Code (under Development & integrations).
- Click + Add Custom Code and paste the snippet.
- Under "Place Code in", choose Head.
- Apply it to All pages and pick Load code once. The Clickport tracker detects page changes itself, so it must not be re-injected on every navigation.
- Save. Then visit your site and check the realtime view for your own visit.
Why Custom Code works for Clickport. Wix routes some big-name trackers (Google Analytics, Tag Manager, ad pixels) through its own marketing integrations and blocks them in Custom Code. Independent analytics snippets are exactly what the Custom Code panel is for, so Clickport installs without any integration.
Good to know
- Wix sites navigate client-side on some sites and with full page loads on others, depending on which architecture your site runs. The tracker handles both automatically; that is also why "Load code once" is the right setting. See SPA Tracking.
- "All pages" includes pages you create later, so new content is tracked without touching the settings again.
- Exclude your own visits while building. See Exclude Your Visits.
- For conversions like a booking or contact form, set up a goal in Clickport.
Related
- Installation - The platform-independent guide
- Troubleshooting - If no data shows up
- Forms - How form submissions are tracked