How to track visitors on Wix.
Wix has a custom code panel built in, so this takes about a minute and needs no plugin. The one thing that catches people is testing before publishing.
What you need
- • A published Wix or Wix Studio site with a connected domain.
- • A plan that supports connecting a domain and access to Custom Code.
- • A VisitorPing site key, in the form vp_ABC23456 — the prefix vp_ and eight characters. The alphabet leaves out I, O, 0 and 1, so there is nothing to misread when copying it.
Install it
- 1
Open the custom code panel
In your Wix site dashboard, open Settings → Custom Code under Development & integrations.
- 2
Add the snippet
Click + Add Custom Code at the top right and paste the tag below, with your own key in place of vp_ABC23456.
<script defer crossorigin="anonymous" src="https://cdn.visitorping.com/site/vp_ABC23456.js"></script> - 3
Set where it loads
Name it something you will recognise later, such as VisitorPing.
Under Add Code to Pages choose All Pages, and select Load code once on each new page.
Under Place Code in choose Head. Then click Apply.
- 4
Publish, then test
Publish the site. Then open the published domain in a private window, complete any required consent, and confirm the visit in your VisitorPing dashboard. Do not use editor preview as the installation check.
The editor preview will not work
Wix does not run custom code the same way in editor preview as it does on the published site. Testing in preview and seeing nothing is the single most common reason people think the install failed.
Publish first, then test the real domain in a private window or from your phone.
What you will actually see
Per visit: the city and region the network resolves to, where the visitor came from, the page they landed on, their device and browser, and whether they have been before.
You do not get a name, an email address, or an identity. Nobody can give you that from a page view, whatever the marketing says. Geolocation resolves a network rather than a doorstep, so a visitor on a VPN or a mobile network can appear in the wrong city entirely. Treat location as a hint.
You are collecting visitor data, so say so in your privacy notice and check which consent rules apply where your customers are — a question for your own legal advice, not for a setup guide.
If it is not working
- Custom Code is missing from Settings
- Check that your plan supports a connected domain and that the site is published with that domain connected. In Settings, look under Development & integrations.
- It works on one page only
- Add Code to Pages was left on a single page rather than All Pages. Edit the snippet's settings and change it.
- Nothing appears after publishing
- Confirm Place Code in was set to Head rather than Body, and that you published after applying rather than before.
Find what is costing you search clicks, then watch the fix work.
VisitorPing reads your own Search Console data for the pages losing clicks, then rings your phone the moment someone lands on your website.