Wix custom code check
Find tracking tags and loose ends before you add code in your Wix settings.
Check my snippet- Button won’t stay on screen
- V.I.B.E marks the problem line
- Button stays put
Checks
- No common kinds of private key found
- Google keys checked
- No chat formatting pasted in
- Code is wrapped in the tags it needs
- The code is the right kind for the platform
- Wix custom code holds no tracking tags
- Common tags are closed
- Files load over a secure address
- Straight quotes in the code
- Scripts wait for the page
- No leftover placeholders
- No set widths too wide for a phone
- jQuery is there if the code needs it
A Google tag in the wrong place
This made-up snippet is the usual shape of a Google Analytics tag. Pasted into the Wix setting it looks accepted, yet Wix says it does not work there. Take it out and connect the tool through a marketing integration, keeping a single copy so visits are not counted twice.
- Wix does not run this tracking tag from Custom CodeLines 1, 5, 6
Remove it here and connect the tool with Wix’s marketing integrations. Keep one copy only, then check that visits are counted.
Checked again after the fix: none of these results come back.
A chat widget never filled in
Here a chat widget arrived wrapped in backtick fences and still asks for an account ID that was never typed in. The fences would show up as stray text, and a widget with a stand-in ID has no account to talk to. Both lines are named.
- AI chat marks got pasted inLines 1, 3
Delete every line that starts with ```.
- Fill-in text was never replacedLine 2
Swap each one for your real link, picture address or ID.
Checked again after the fix: none of these results come back.
What must be true before custom code runs?
Wix says your site has to be published and to have a connected domain, meaning a web address of your own attached to it. You then open your site dashboard, go to Settings and choose Custom Code.
Head, body start or body end?
You pick where each snippet is placed, and whether it loads on all pages or only on chosen ones. Follow the instructions of whoever supplied the code. A script that looks for a button needs that button to exist first, so the end of the body is the usual choice for it.
Why is your analytics counting nothing?
Wix lists Google Analytics, Google Tag Manager and the Facebook and TikTok pixels as tools that do not work through custom code. Remove the pasted tag, set the tool up under marketing integrations, then visit your own site and confirm that the visit appears.
Did a snippet stop after a change?
Wix introduced new browser security measures for custom code in December 2025. It also says that assigning a different domain to your site deletes your code snippets. Save your own copy of every one before changing addresses, and ask the supplier of an old snippet for a current version.
What is left for you to confirm?
A pasted snippet is read on its own. Your domain, your plan, other snippets already added and whether the service behind the code is still running are not visible. Publish, open your real address in a private window and use whatever the snippet adds, then run the free website check on it.
Sources, read 30 November 2026
- Wix: embedding custom codeupdated 9 April 2026
- MDN: the script elementchanged 5 November 2026
V.I.B.E is made by TNAADO. It is not part of, or endorsed by, Wix or Google.
Advanced app builds
TNAADO builds multiplatform products that take payments and protect sensitive data.
Start a project