Skip to main content
You can ask your store’s visitors how likely they are to recommend you and read the reason behind each score. When you finish this guide, a two-question NPS survey opens on your Shopify storefront after a shopper has spent a little time on a page, and each shopper sees it at most once every 90 days.

Before you start

  • Any plan works, since website surveys and the NPS template are on every plan and the Free plan includes 1 site.
  • Your role has the Manage sites permission to add the store, and Manage surveys to create and publish the survey.
  • You have a Shopify staff account that can edit your theme’s code.

Install Usertick in your theme

  1. In Usertick, go to Settings → Sites. If your store’s domain isn’t listed, select Add site, enter the Website address and select Add site.
  2. Select the site and select Copy on its code.
  3. In the Shopify admin, go to Online Store → Themes.
  4. On your theme, select … and then Edit code.
  5. Open layout/theme.liquid, paste the code right before </head> and save.
  6. Open your store in a browser, then go back to Settings → Sites.
The site changes to Connected once the widget loads on a page of your store. Check now in the Connection row looks for the code on the home page right away, which it can’t do while the store’s password page is on. Surveys don’t run on Shopify’s checkout pages. See Install Usertick for the full install page.

Create the survey from the NPS template

  1. On the Surveys page, select Create survey, then Templates.
  2. Find Net Promoter Score (NPS) and select Preview.
  3. In the switch at the top of the preview, select Website, then select Use template.
The Net Promoter Score (NPS) template preview on Website, with its two questions, Opens in Usertick, the device switch and Use template

A template preview

The survey asks “How likely are you to recommend us to a friend or colleague?” on a 0 to 10 scale, then “What’s the main reason for your score?”. You can change the wording in the Survey step.

Choose when it opens and who sees it

In the editor’s Targeting step:
  1. On Triggers, change the template’s After a delay from 3 seconds to 15 seconds, so shoppers see the store before the question.
  2. On Display rules, under Where to show, select Add rule under Excluded pages and enter starts with /cart, so the survey never interrupts a purchase.
  3. Under Show frequency, set Repeat behavior to Every N days, the Cooldown duration to 90 and After submission to Show again after the cooldown.
The Display rules tab of the Targeting step: Where to show with an included rule starting with /pricing and no excluded pages, then the Audience rules from Show on devices to Earlier surveys

Targeting → Display rules

Publish on your store

In the Publish step, select your store under Where it runs, then select Publish. The survey starts showing to visitors within 5 minutes. If Usertick then asks Send responses to your tools?, select Not now, or see Get notified when a response arrives.
The Publish step of a live website survey: the Site section with Manage sites, Where it runs set to usertick.com, the status line saying the widget is live there, and the preview beside it

The Publish step of a website survey

Check that it works

  1. Wait up to 5 minutes after publishing, then open your store in a private browser window and stay on a page for 15 seconds, after which the survey opens.
  2. After you answer it, the response appears in Inbox and on the survey’s Results page.
That window won’t show the survey again for 90 days, so open a new private window to test again. If the survey doesn’t open, see Troubleshooting.
Last modified on November 17, 2026