More in Getting started
- Install TapCub on your website
- Migrate from Google Analytics 4 or Baidu Tongji
- Add a website, app or mini-program
- How do I add TapCub to WordPress?
- How do I add TapCub to Shopify?
- Where do I paste the TapCub tracking code?
- Can I install TapCub with Google Tag Manager?
- How do I track a React, Vue or Next.js app?
- How do I check that TapCub is collecting data?
- Why does TapCub show no data after I installed it?
- What is a site, and how many can I add?
- Which time zone should I pick for a site?
- Which domains do I need to register?
- How do I keep my own visits out of the reports?
- Why does my visitor count differ from Google Analytics 4?
- Can I run TapCub alongside Google Analytics 4?
- How do I move my goals and events from GA4?
- Can I import my historical data from GA4?
- How do I add TapCub to Squarespace?
- Which Content Security Policy rules does TapCub need?
- Do ad blockers block TapCub?
- How do I send events from my server?
- How do I install TapCub on React?
- How do I install TapCub on Nuxt?
- How do I install TapCub on Vue?
- How do I install TapCub on Next.js?
- How do I capture a HAR file for TapCub support?
- How do I create and manage API keys?
- How do I send events with the HTTP API?
- All guides in this category
Still have a question?
Could not find it? A person reads every message, usually within a few hours on business days.
Chat with usShort answer
In Wix settings, add the TapCub snippet as custom code for All pages, loaded once, in the Head. No app is needed. Register your domain, then open Realtime to see the first visit.
Add the snippet as custom code
- Copy the snippet. Copy your snippet from Web analyticsConfigurationSDK code. It already contains your site key and looks like this:
SDK code <script defer src="https://static.pathclue.com/client.js" data-site="YOUR_SITE_KEY"></script> - Open custom code. In your Wix dashboard, go to Settings and find Custom code (often in the Advanced section). Custom code needs a site with a connected domain on a plan that allows it.
- Add the code. Click to add custom code, paste the snippet and give it a name such as "TapCub".
- Set where it runs. Choose All pages, Load code once, and place it in Head. Apply.
Wix menu names change from time to time. If you cannot find the setting, search the Wix help center for "custom code".
Add the snippet only once. A second copy on the same page is ignored, but it makes debugging harder.
Register your domains
Make sure the domain visitors use is listed on Web analyticsConfigurationSDK code. Subdomains of a listed domain are accepted automatically; hits from any other host are dropped. A free *.wixsite.com address is not a subdomain of your own domain; register it separately if visitors use it.
Page changes on Wix
Wix sites change pages without a full reload. TapCub listens for these URL changes and records each new page as a pageview, so nothing extra is needed. See single-page apps for how route changes are counted.
What is and is not tracked
Pages that load the site-wide head code are tracked. Checkout pages hosted by the platform may not run custom code, so completed orders are better sent from a server or an order webhook.
Confirm it works
Open the published site in a normal browser window and watch Web analyticsRealtime. The visit appears within a few seconds. If it does not, check that data is arriving step by step.
Did this answer your question?
We use your answers to fix and expand this page.
Couldn’t send. Please try again in a minute.
Thanks for the feedback. We’ll use it to improve this page.You’ve already sent feedback on this page. Thanks.