On every plan, including Free
Wix
Ask visitors on your Wix site.
Add one script tag under Custom Code in your Wix settings, set it to All pages and Head, and publish. UserLoop then decides which visitors see which survey, page by page.
Read the docsHow do I add a survey to a Wix site?
In UserLoop, choose Wix under Your site is built with and copy the script tag. In your Wix dashboard, open Settings, then Custom Code, and choose Add Custom Code. Paste the tag, choose All pages and Head, select Apply, then publish the site. Open any page and UserLoop marks the survey Live. Wix moves between pages without reloading, and the snippet follows each change of address by itself.
- Where it goes
- Settings, Custom Code, Add Custom Code
- Options
- All pages, in Head
- Then
- Apply and publish the site
- Plans
- Free, Unlimited and Plus
Install
Three steps in your Wix dashboard
In UserLoop, open the survey's Launch stage, set Your site is built with to Wix and copy the code. Then:
01
Open Custom Code
In Wix, open Settings, then Custom Code, and choose Add Custom Code.
02
Paste, All pages, Head
Paste the script tag, choose All pages for where it is added and Head for where it is placed.
03
Apply, then publish
Select Apply, then publish the site. Open any page of it, select I've added it in UserLoop, and it watches for your site for 5 minutes.
The snippet
What the Custom Code entry looks like
One entry, for the whole site. You do not add it again for new pages or new surveys.
<script async src="https://cdn.userloop.io/sdk-3/userloop.js" data-site-key="YOUR_SITE_KEY"></script>Settings → Custom Code → Add Custom Code
Code <script async src="https://cdn.userloop.io/sdk-3/userloop.js" data-site-key="YOUR_SITE_KEY"></script>
Pages All pages
Place Head
Apply, then publish the site.On Wix
Three things that are particular to Wix
Where the code goes, how Wix changes pages, and what happens on store pages.
The right place
Use Custom Code, not an HTML embed
Wix has two places that accept code. Only the one in Settings puts UserLoop on your pages.
Custom Code in Settings. Loads the tag in the head of all pages, which is what a survey needs to appear over them.
Not an embed on a page. An HTML embed is a frame of its own, so a snippet pasted there cannot see the page around it or draw over it.
Publish first. The code runs once the site is published. Until UserLoop has seen it, the survey shows Needs setup.
Page changes
Triggers that keep up with Wix navigation
A Wix site swaps pages without a full reload. UserLoop watches the address, so each page a visitor opens is treated as a new page view.
Rules are checked again. Each survey's pages and visitor rules are checked against the new address, without another request to UserLoop.
Timers start over. After a wait and On scroll begin again from zero on the new page. A survey that is already open stays open.
On exit is for desktops. It opens when the pointer leaves through the top of the window, so it never opens on a phone or tablet. Give phone visitors a scroll or wait trigger.
Wix Stores
Ask on store pages, without a Wix app
Product pages, the cart and the thank-you page are pages like any other to the snippet. You pick them by address and choose how the survey appears there.
Target by address. Open the store page you care about, copy the part of its address every such page shares, and use it in a Show on rule.
Pick how it appears. A popup in a corner on product pages, a modal after an order, or a feedback button on every page.
No order join. Answers arrive with the page and the visitor. They are not matched to the Wix order: that link exists for Shopify.
Platform facts
UserLoop on Wix, in one table
- Where the code goes
- Settings, then Custom Code, then Add Custom Code. Choose All pages and Head, select Apply, then publish the site
- Wix app
- None. There is nothing to install from the Wix App Market
- Wix plan
- A Wix site where Settings offers Custom Code. Wix decides which plans include it. UserLoop's side is on every plan, including Free
- Wix Stores
- Works on store pages, targeted by address. Answers are not joined to Wix orders
- Page changes without reload
- Detected from the History API. Page rules and timers follow each new address
- Exit intent
- Desktop only. It never opens on a phone or tablet
- Page weight
- 13 KB gzipped on every page, loaded asynchronously. A further 24 KB only when a survey shows
- Consent
- Sets no cookies. State is kept in the browser's local storage
Once it is in
What to ask first on a Wix site
Small business sites tend to start with one of these.
- How did you hear about us?One question after an order, a booking or an enquiry.
- Customer satisfactionA CSAT question with a follow-up for anyone who was not happy.
- Why are you leaving?An exit intent survey for desktop visitors on your pricing or services page.
- Everything the snippet can doDisplay modes, triggers and targeting, in full.
Frequently asked questions
Is there a UserLoop survey app in the Wix App Market?
No. UserLoop is added with one script tag under Settings, Custom Code. There is no Wix app to install, and nothing to add to individual pages.
Does it need a paid Wix plan?
Wix decides which sites can add Custom Code, so check that Custom Code appears in your Wix Settings. On UserLoop's side, website surveys are on every plan, including Free.
I added the code. Why is the survey not showing?
Check three things: the site was published after you added the code, the code is set to All pages and Head, and the survey itself is published in UserLoop. Then open a page of the live site and select Check installation.
Can I paste the code into an HTML embed instead?
No. An embed is a separate frame inside the page, so the snippet would not see your pages and could not show a survey over them. Use Custom Code in Settings.
Does it work with Wix Stores?
Yes. The snippet runs on store pages and you target them by address. Answers are not joined to Wix orders, so revenue per answer is not available here as it is on Shopify.
Can I show a survey on one page only?
Yes. On the survey's Targeting stage, add a Show on rule with that page's address. With no Show on rule, the survey shows on every page.
Will it slow my Wix site down?
The loader is 13 KB gzipped and loads asynchronously. The code that draws a survey is a further 24 KB and is fetched only when a survey is about to show.
Is it free?
Website surveys are on every plan, including Free. Free allows 1 live survey with 3 questions and 50 responses a month. Unlimited is $19 a month with unlimited responses.
Keep reading
One Custom Code entry, then every survey you publish
Start on the Free plan: 1 live survey, 3 questions and 50 responses a month.