Install · Wix
Bug reports and feedback from your Wix site, in one script tag.
Where it goes
Settings → Custom Code → Add Custom Code, set to load on all pages, placed in Body – end.
Setup
Adding the widget to Wix
- 01
Copy your widget key
From the Widget tab of your project in UserWants. The key begins with uw_pk_ and is public by design: Wix will render it into your published HTML, and the domain allowlist rather than secrecy is what limits where it works.
- 02
Open Custom Code in the dashboard
This lives in your site dashboard under Settings, not in the drag-and-drop editor. Choose Add Custom Code, paste the tag, name it something you will recognise later, and set it to load on All pages so you are not adding it per page.
html<script src="https://userwants.app/widget.js" data-userwants-key="uw_pk_..." defer ></script> - 03
Place it at Body – end
Wix asks where the code should go: Head, Body – start or Body – end. Choose Body – end so the widget loads after your page content. Then set the code type to Essential, or a visitor who declines analytics cookies will never see the button.
- 04
Publish and allow your domain
Custom code only runs on a published site, never in the editor or preview. Publish, then add your live hostname under Allowed domains in the Widget tab — the list fails closed, so until the domain is there the widget stays quiet.
Worth knowing
What bites on Wix
Custom Code needs a premium plan and a connected domain
On a free Wix site the Custom Code panel is unavailable. Wix also requires the site to have a connected domain before it will inject third-party code, so a wixsite.com address alone is not enough.
Consent category matters more here than elsewhere
Wix categorises each custom code block for its cookie banner. Leaving the widget in a non-essential category means it is blocked for anyone who does not accept everything, which looks exactly like a broken install.
Velo is not required
You do not need to enable Dev Mode or write any Velo code. If you already use Velo and want to identify signed-in members, call window.UserWants.identify from a page’s onReady handler.
FAQ
Questions
- Why does the widget not appear on my Wix site?
- Check three things in order: the site is published rather than previewed, the custom code is set to load on all pages, and the code type is Essential so your cookie banner does not block it. A missing allowlist entry is the fourth cause.
- Do I need Wix Velo or Dev Mode?
- No. The Custom Code panel in the dashboard is enough on its own. Velo only becomes useful if you want to pass a logged-in member id to identify, which is optional and only matters on membership sites.
The full reference — every field the widget collects, the domain allowlist rules and the JavaScript API — is in the widget docs.
Try it on your Wix site.
Paste the tag, add your domain, and the next report arrives with the screenshot and the JavaScript error already attached.