How to run surveys on Shopify

Launch surveys and collect feedback on your Shopify store pages

Agnieszka avatar
Written by Agnieszka
Updated over a week ago

By running Survicate surveys on your Shopify store pages, you can:

  • ask about your visitors' experience, their opinion about your products, or their purchase experience;

  • learn about the reasons for the cart abandonment;

  • find out which products need improvement or what else your clients would like to see in your store.

In this article, you'll learn how to show Survicate surveys on your Shopify pages and how to install the Feedback Button to collect constant feedback.

Step 1. Install Survicate on Shopify

To run a survey directly on your Shopify store, you'll need to install the Survicate tracking code on your store's theme.

1. In the Survicate panel, copy the code under Surveys Settings > Web survey > Manual installation.

2. Go to your Shopify account Theme, under Actions click Edit Code.

3. Under Layout, find theme.liquid. Paste the code you've copied from your Survicate Panel before the </head> tag of your theme. Don't forget to save the changes after pasting the code.

Step 2. Launch a survey adjusted to your goal

Feedback Button

With the Feedback Button, you can gather continuous feedback on your Shopify Store and empower your users to share their ideas, questions, concerns, and love.

1. Create and set up the Feedback Button from the Survicate Panel. You can also run the Feedback Button only on specific URLs on your store, such as your checkout page. Alternatively, you can run a customized website survey.

2. Launch the Button, and within a few minutes, you will see it active and ready to collect insights on your store!
​

Product feedback survey

To individually evaluate your products and your customers' perceptions of them, you can run surveys only on some product pages to:

  • Evaluate the strengths of your best-selling products

  • Learn what are the pain points of your least-selling products

2. Go to your Shopify store and to the product you'd like to evaluate. Copy the path that identifies your product (usually at the end of the store URL)

3. Head on to the Target > Triggers section of your survey. Where would you like to show the survey? > Only certain pages, pick the ends with condition and paste the final parts of the URL from the listing you'd like to run the survey for. You can include multiple options by clicking Add new pages.

πŸ’‘ You can also conduct surveys on all your product pages! Simply change the trigger condition to URL contains > product.

4. Set your survey live, and within a few minutes, you should see it on your product's page!

Post-purchase survey

If you'd like to inquire about your customers' purchase experiences, you can trigger surveys on the final step of your checkout page to ask about what was great and what could be improved about their purchase experience.

1. Create a Website survey and design it to match your brand.

2. Head on to the Target > Triggers section of your survey.

Under Where would you like to show the survey? > Only certain pages, pick the ends with condition. Shopify Thank you pages typically end with a thank-you fragment. If you are using a custom URL style, please ask your Shopify designer about the fragment you can use.


​3. Set your survey live, and within a few minutes, you should be able to see it on your Shopify Thank you page.

Cart abandonment survey

You can learn why your shop visitors are abandoning their cart by running an exit-intent survey on your shopping cart pages and understand their purchase decisions better.

You can include a Contact form in these surveys to generate more leads or simply ask your visitors why they decided to leave before the purchase.

1. Create a Website survey, and design it to match your brand.

2. Head on to the Target > Triggers section of your survey.

Under Where would you like to show the survey? > Only certain pages, pick the ends with condition. Shopify cart pages typically end with a cart fragment. If you're using a custom URL style, please ask your Shopify expert about the fragment you can use.

3. Under When would you like to show the survey, pick When a user is about to exit.

4. Set your survey live.

Now, whenever your customers are on your cart page and move over to the close browser tab button to leave the page, they will see your survey!

πŸ“Œ Survicate exit-intent surveys only work on web browsers that are opened on desktop and laptop devices. When a website with an exit-intent survey is opened on a mobile device, the visitor will not see this survey at all.

πŸ“Œ Some of the features mentioned in this article might be restricted on your Shopify plan.

Troubleshooting

I can't see my website survey on Shopify

If you've already replied to the survey or closed it, try changing the survey's frequency settings. If you want to test your survey's experience on your website, you can also do it in the incognito mode of your browser. After every test, make sure to close all incognito windows.

Best practices

Run Email or Shareable Link surveys on Shopify custom domain

If you use a custom domain for the link surveys you want to show on your Shopify page, you will have a "sid" parameter in the URL that stands for the survey id. "sid" has a special meaning in Shopify and once the user enters the URL it is replaced with β€˜null.js’.

To prevent it you can replace one line in your code snippet:

var sid = xgetParameterByName('sid');

to

var sid = xgetParameterByName('survey_id');

You will also need to change this parameter in the survey URL or HTML code manually:

Copy the link from the Share tab of your email/link survey and change "sid" to "survey_id".

πŸ“ž If you have any questions about running your surveys on Shopify, please reach out to us at support@survicate.com or strike up a chat conversation.

Did this answer your question?