On every plan, including Free
Platforms
One snippet, any platform.
UserLoop is not tied to one store builder. The same script puts surveys on a WordPress blog, a Webflow or Framer marketing site, a Wix or Squarespace shop, or an app you built yourself. Pick your platform for the exact steps.
Read the docsWhich website platforms does UserLoop work with?
UserLoop website surveys work on any site that can take a script tag. You add one snippet to the head of the site, once, and every survey you publish shows through it. There are step by step guides for WordPress, Webflow, Wix, Squarespace, Framer, Google Tag Manager, and Next.js or React. Shopify stores have their own route: checkout, popup and theme block surveys that need no snippet.
- Works on
- Any site that can take a script tag
- You add
- One snippet, once
- Guides
- WordPress, Webflow, Google Tag Manager, Wix, Squarespace, Framer, Next.js and React
- Plans
- Free, Unlimited and Plus
Guides
Pick what your site is built with
Each guide has the menu path, the code as you paste it there, and what is particular to that platform.
- Site builderWordPressA header snippet, through a header code plugin or your theme. There is no UserLoop plugin to update.
- Site builderWebflowSite settings, Custom code, Head code, then publish. CMS and Ecommerce pages targeted by address.
- Tag managerGoogle Tag ManagerA Custom HTML tag on the All Pages trigger. No change to the site's code.
- Site builderWixSettings, Custom Code, set to All pages and Head, then publish. Follows Wix page changes.
- Site builderSquarespaceSettings, Advanced, Code Injection, in Header. Needs a Squarespace Business plan or higher.
- Site builderFramerSite Settings, General, Custom Code, at the end of the head. No code component needed.
- FrameworkNext.js and ReactOne loader in app/layout.tsx with next/script, or in index.html. No npm package.
- StoreShopifyThank-you page, popup and theme block surveys, with every answer joined to the order. No snippet.
How it works
The same three steps on every platform
01
Create a website survey
Start a new survey and choose Your website under Where should it run? Add your questions and publish.
02
Add the snippet, once
Under Your site is built with, choose your platform. The steps and the code change to suit it. Paste the code where it says.
03
Let UserLoop check it
Open any page of your site. UserLoop sees the page load and shows Live, with the address the snippet was installed on.
The snippet
Two forms of the same script
The dashboard gives you the right one for your platform, with your site key already in it.
<!-- WordPress, Webflow, Wix, Squarespace, Framer -->
<script async src="https://cdn.userloop.io/sdk-3/userloop.js" data-site-key="YOUR_SITE_KEY"></script><!-- Your own HTML, Google Tag Manager, Next.js, React.
Defines userloop at once and queues calls until the SDK has loaded. -->
<script>
!function(w,d,o){if(w.userloop)return;var q=[],u=w.userloop={q:q};"init identify setAttributes track page show close reset setLanguage on off".split(" ").forEach(function(m){u[m]=function(){q.push([m,[].slice.call(arguments)])}});var s=d.createElement("script"),c=d.currentScript;s.async=1;s.src="https://cdn.userloop.io/sdk-3/userloop.js";if(c&&c.nonce)s.nonce=c.nonce;d.head.appendChild(s);u.init(o)}(window,document,{"siteKey":"YOUR_SITE_KEY"});
</script>The constants
What is the same on every platform
- Install
- One snippet in the head of every page, added once. New surveys need no code change
- Ways to appear
- Popup, Slide-in, Modal, Feedback button, Inline
- Triggers
- Time on page, Scroll depth, Exit intent, Click, Custom event, Manual
- Targeting
- Pages, device, language, referrer, UTM values, new or returning, visitor attributes and a share of visitors
- Page weight
- 13 KB gzipped on every page, loaded asynchronously. A further 24 KB only when a survey shows
- Cookies
- None. State is kept in local storage, session storage or memory
- Install check
- From real page loads. The dashboard shows Live or Needs setup
- Your addresses
- Up to 20. Once listed, surveys show only there
- Survey changes
- Reach the site within 2 minutes of publishing
- Single-page navigation
- Route changes are detected from the History API
- Plan
- Every plan, including Free
The differences
What changes from one platform to the next
Four things, and each guide covers them for its own platform.
Where the code goes
A header plugin, a site setting, a tag in a container or a layout file.
Whether you publish
Webflow, Framer and Wix run the code only on the published site. Tag Manager needs the container published.
The platform's plan
Squarespace keeps Code Injection for its Business plan or higher. A link survey needs no code.
Order data
Answers are joined to orders on Shopify only. On other stores the snippet works, without that link.
For developers
Not a site builder? It is still one script
On a site you built yourself, the loader goes just before the closing head tag in the template every page shares. From there your code can identify visitors, pass attributes and open a survey when something happens.
- 12
- JavaScript methods
- 5
- events to subscribe to
- 50
- visitor attributes
Frequently asked questions
Which website platforms does UserLoop work with?
Any site that can take a script tag. There are guides for WordPress, Webflow, Wix, Squarespace, Framer, Google Tag Manager, and Next.js or React, and the same snippet works on a site you built yourself.
What if my platform is not listed?
Choose HTML under Your site is built with and paste the code just before the closing head tag on every page, or in the template every page shares. If your platform has a place for custom head code, that is where it goes.
Does it work with WooCommerce and BigCommerce?
Yes. The snippet runs on WooCommerce and BigCommerce stores like any other site. There is no WooCommerce or BigCommerce plugin, and answers are not joined to their orders: that link exists for Shopify only.
Does it work on single-page apps?
Yes. The SDK detects route changes made through the History API and checks each survey's page rules again for the new address. There is no React or Vue package to install.
Do I need a developer?
Not on a site builder or Google Tag Manager: it is one paste and a publish. If someone else looks after your site, choose Send to your developer and UserLoop writes a message with the code and what their security settings need.
I have a Shopify store. Do I need the snippet?
No. Shopify stores use the thank-you page survey, the popup and the theme block, which need no code and join every answer to the order. You would only add the snippet for a site that is not your Shopify store.
Is the snippet different on each platform?
It is the same SDK in two forms. Site builders get a plain script tag. Your own HTML, Google Tag Manager and frameworks get a loader that also queues calls made before the SDK has loaded.
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
Whatever your site is built with, it takes one snippet
Start on the Free plan: 1 live survey, 3 questions and 50 responses a month.