This article applies to Shopify users only.
Q: Can I show a post-purchase survey only to first-time customers, or only to returning customers?
A: Not directly. Post-purchase surveys can't be targeted by order count, so there is no built-in "first-time customers only" or "returning customers only" option. As a workaround, you can use Shopify customer tags: tag customers who have ordered before, then show or hide the survey based on that tag.
Details
Workaround: use Shopify customer tags
In Shopify, add a tag (for example,
repeat-customer) to customers who have ordered before. You can do this manually, or automatically with Shopify Flow or another app.In Asklayer, open the survey and go to Delivery > Post purchase page > User targeting.
Select Show to a segment of users and turn on User tags.
Enter your tag and choose:
Equals to show the survey to returning customers only (customers who have the tag)
Does not equal to show the survey to first-time customers only (customers who don't have the tag)
How the tag is checked
Customer tags are checked when the thank-you page loads. If you add customer tags automatically, make sure they’re added after the thank-you page is displayed (for example, when the order is fulfilled).
If you enter multiple tags under User tags in the targeting settings, a customer is considered a match if they have any one of those tags.
Other targeting options for post-purchase surveys
Post-purchase surveys can also be targeted by Products purchased, browser language, login state, country or state, and IP address.
