Website surveys are on every plan, including Free. The Shopify popup is on Unlimited and Plus
Exit intent surveys
Ask why, before they leave.
When a visitor's pointer heads for the top of the window, UserLoop shows one question: what is stopping you today? It runs on any website through one snippet, and on a Shopify store through the popup.
Read the docsWhat is an exit intent survey?
An exit intent survey is a short question shown at the moment a visitor moves to leave a page, usually when the pointer travels toward the top of the browser window. It asks what stopped them: the price, delivery, something they could not find or a question nobody answered. Because it reaches people who did not buy or sign up, it explains the drop-off that analytics can only count.
- Opens when
- The pointer leaves through the top of the window
- Devices
- Desktop. Phones and tablets have no pointer, so they need another trigger
- Runs on
- Any website, or the Shopify store popup
- Plans
- Website on every plan; Shopify popup on Unlimited and Plus
How it works
One question, shown on the way out
01
Put UserLoop on the site
Paste one script tag on any website. On a Shopify store, switch on the popup embed in your theme and no code is needed.
02
Set it to open on exit
Choose On exit as the moment, then the pages it applies to. On Shopify, the same choice is in the popup's settings in the theme editor.
03
Publish and read the reasons
Answers arrive as they are given. Each reason is counted, and typed answers can be searched.
On your site
Ask the right leavers, and only once
A question on the way out earns an answer when it is rare and well placed. The rules are set in the dashboard and checked in the browser.
Targeting
Choose the pages where leaving costs you
Someone leaving a pricing page has a reason worth hearing. Someone leaving a blog post usually does not.
Pages. Include the pricing, product and cart pages by exact address, a part of it or a wildcard, and exclude the rest.
Visitors. New or returning, the referrer, UTM values, or an attribute you pass in, so existing customers are left alone.
Frequency. Once, until answered, or again after a gap you choose, with one survey per visit across the site.
Sampling. Show the question to a percentage of the visitors who qualify.
Your own exits
Leaving is not always the close button
Cancelling a plan, closing a checkout window and emptying a cart are exits too. Send an event from your code and the survey opens on it.
On an event. Set the survey to open on an event, name it, and call userloop.track with exactly that name.
Rules still apply. The survey opens only if its page, visitor and frequency rules allow it at that moment.
Works on phones. An event fires on any device, so it covers the visitors a pointer trigger cannot.
// Survey trigger: On an event, named "cancel_clicked"
document
.querySelector("#cancel-plan")
.addEventListener("click", () => {
userloop.track("cancel_clicked");
});// Call this from your own cart code
function onCartEmptied() {
userloop.track("cart_emptied");
}userloop.on("completed", (payload) => {
// The visitor finished the survey.
// For example, open your live chat here.
console.log(payload);
});Results
Read the reasons by page and by source
One answer is an anecdote. The same answer from every visitor who arrived on one campaign is a fix.
Counted per answer. See what share of leavers named price, delivery or a missing product.
Filtered by where they came from. Narrow responses by landing page or UTM values to compare paid traffic with search.
What they were looking for. Typed follow-up answers sit in Written answers, where they can be searched.
Follow up
Reply to the visitor who had a question
The template ends with an optional email address, for anyone who would like an answer.
An optional email. Asked second, never required, so the reason is recorded even when the address is not.
A profile per person. Their answer sits beside the landing page and UTM values that brought them to the site.
Sent to Slack. Post submissions that include a written answer to a channel, so someone can reply. Unlimited and Plus.
The template
The questions you start with
This is the Why visitors leave template as the app writes it for a Shopify store popup. For a website survey, add the same question yourself or let the AI writer draft it from one sentence.
- Question 1: single choice
- Before you go, what's stopping you today?
- Answers
- Just browsing. It's more than I want to spend. I couldn't find what I was looking for. Delivery costs or times. I have a question first. Something else, with a typed answer.
- Follow-up after "I couldn't find what I was looking for"
- What were you looking for? A text answer, optional.
- Follow-up after "I have a question first"
- What would you like to know? A text answer, optional.
- Question 2: email address, optional
- Can we get back to you? Leave your email if you'd like a reply.
- Why so short
- One question with a tap to answer, because people on their way out will not type much. Follow-ups appear only when there is more to learn.
When and whom
Where an exit question earns its place
The trigger is the easy part. The decisions that matter are which pages and which visitors.
Pages with intent
Pricing, product and cart pages, where a visitor was weighing a decision.
Desktop visitors
The trigger needs a pointer. Give phones a scroll, time or event trigger of their own.
Once per visitor
Set the frequency to once, so nobody meets the question on every visit.
People who have not bought
Use an attribute or the new visitor rule to leave customers out.
One reason at a time
A single choice question with a typed option keeps the answers countable.
Set it up
Guides for your site
Frequently asked questions
How does an exit intent survey work?
The page watches for the pointer leaving through the top of the browser window, which is what happens as someone goes to close the tab or type a new address. When that happens, and the visitor passes the survey's targeting rules, the question opens.
Do exit intent surveys work on mobile?
Not with the exit trigger. Phones and tablets have no pointer, so a survey set to open on exit never opens there. For mobile visitors, use a scroll depth or time on page trigger, or open the survey from your own code with a custom event.
What should an exit intent survey ask?
One question that can be answered with a tap. The UserLoop template asks "Before you go, what's stopping you today?" with five reasons and a typed option, then offers an optional email field for anyone who wants a reply.
Which plan includes exit intent surveys?
Website surveys, including the exit trigger, are on every plan. Free allows 1 live survey, 3 questions and 50 responses a month. The Shopify store popup is on Unlimited and Plus.
Do I need a Shopify store?
No. The website snippet works on any site that can take a script tag, and you sign up with an email address. Shopify stores can use the store popup instead, which is set to open when a visitor is about to leave in the theme editor.
How do I stop an exit survey annoying visitors?
Limit it. Show it on a few pages, once per visitor, to a percentage of those who qualify. UserLoop also shows at most one survey per visit across the site.
Can I offer a discount for answering an exit survey?
Not on a website survey, which cannot show rewards. On a Shopify store popup, a unique discount code can be given for answering, and only customers signed in to the store receive one. Rewards need Unlimited or Plus.
Is an exit intent survey the same as an exit popup?
No. An exit popup makes an offer to keep the sale. An exit survey asks a question to learn why the sale was lost, so the cause can be fixed for the next visitor.
Will it slow my 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.
Keep reading
Hear the reason before the tab closes
Website surveys are on the Free plan: one snippet, 1 live survey, 50 responses a month.