Show a survey on the Shopify order page
Ask buyers a question on Shopify's Thank you and Order status pages, and see revenue per answer.
In this article
Right after an order is the best moment to ask "How did you hear about us?": the buyer is still there, and you know what the order was worth. Shopify allows no scripts on the Thank you and Order status pages, so Varly shows the survey with a block that Shopify draws itself. This works on every Shopify plan except Starter.
Set up the survey
- Go to Research → Surveys and create a survey, or open one. The template How did you hear about us? is made for this.
- Under Where and for whom, choose On the Shopify order page, right after an order.
- Check the Preview on the right: it shows the survey as the order page does.
- Click Save survey, then Start survey on the survey's page.
On the order page:
- Position and design isn't used. Shopify uses the style of your checkout; change its branding in Shopify to change the look.
- Rules about pages, devices, visitors, traffic source and the cart don't apply: everyone here just ordered.
- Checkout languages, Show to X% of orders, Start showing on, Stop showing on and Stop after this many responses do apply.
- The survey shows as soon as the page loads, once per order. A buyer who answered on the Thank you page doesn't see it again on the Order status page.
Which questions work
| Question type | On the order page |
|---|---|
| Single choice, Multiple choice, dropdown list | Yes, also with "Other" and the buyer's own words |
| NPS (0–10), Satisfaction (1–5) and Rating scale | Yes, as numbers (also with Stars or Faces) |
| Short answer and Long answer | Yes |
| Ranking (put answers in order) | Yes. The first answer a buyer taps is number 1 |
| Matrix (one answer per row) | Yes, one row of choices per line |
| Pictures as answers | Yes, as text without the pictures |
| Email address | No. The checkout already has it, and Shopify doesn't allow asking again |
The editor lists questions that look different or are left out under Different on the order page. Follow-up questions and translations work as usual; the survey follows the checkout language.
Add the block in Shopify
You do this once; Shopify never adds an app's block by itself.
- In your Shopify admin, go to Settings > Checkout.
- In the Configurations section, click Edit next to the checkout you use. The checkout and accounts editor opens.
- Click the Apps icon in the sidebar. Next to Varly survey, click ⊕, and in Add to choose Thank you.
- Do the same again and choose Order status, so buyers who come back through their confirmation email can answer too.
- Click Save.
The block stays empty until an order-page survey is live. You can drag it to another spot in the editor. The Install page in Varly has the same steps, with a button to your checkout settings.
What Varly saves
Varly saves each answer with the order number, order value and currency, never the buyer's name, address, email or phone number.
Varly links the answer to the buyer's visit only when the buyer allowed analytics in your cookie banner. Otherwise it keeps the answer with the order only.
How to read the result
The results page works as for every survey (Read survey results), with two differences:
- Orders and revenue by answer uses the order the answer belongs to, so you see which channel brings the most revenue.
- Survey performance starts from the orders placed while the survey ran, because Shopify doesn't report who saw the block.
Common problems
- The survey doesn't show on the Thank you page. Check that the survey is live, the block is added to Thank you and saved, and tracking is on for the site. A buyer who already answered for that order doesn't see it again.
- The block isn't in the list of apps. The Varly app isn't installed in this store, or the store is on the Starter plan.
- The survey shows in the wrong language. It follows the checkout language. Add a translation under Language and thank-you screen, or set one fixed language there.
- Revenue per answer stays empty. Varly shows revenue once the order arrives from Shopify. Check Connect your orders on the Install page.
Still stuck? Email support@varly.ai and we'll help you out.
Related articles
- Create a surveyStart from scratch or from a template, write your questions and add follow-up questions that only appear when they matter.
- Choose where and when a survey appearsSet the pages, visitors, moment, position and how often a survey shows, so you ask the right people.
- Read your survey resultsSee how many visitors saw, started and finished a survey, where they stop, what they chose and wrote, and let Oran list the key findings and tag the answers.
- Install Varly on ShopifyAdd Varly to your Shopify store with the Varly app or by pasting the snippet into your theme, and check that it works.