This article presumes that you already have the unique URL of your Standalone Survey Page. If you need to find out how to do that, then please take a look at this article: Locating the unique URL of your Standalone Survey Page
Combining Shopify Liquid Objects as values for URL parameters
When linking your unique Standalone survey URL within a default Shopify notification email template such as the Order Confirmation email, you can make use of Shopify Liquid Objects to pre-fill URL parameters with personal identifiable details:
The Standalone survey URL
This is an example of how our basic Standalone survey URL might appear:
https://mystore.myshopify.com/tools/survey/64b51408bf775
Survey links that included URL Parameters with values for a specific customer
There are five URL parameters that can be used on their own or in combination within a survey URL:
- customer_id
- order_id
- first_name
- last_name
Here is what a basic Standalone survey URL will look like where URL parameters have been added with values specific to one customer and their order:
https://mystore.myshopify.com/tools/survey/6482fe137c5d6?customer_id=6709205336365&order_id=5292140626221
For a comprehensive guide on how to use URL parameters within the Standalone Survey URL link please see the following section of our main guide Pre-populating the standalone survey link with identifiable URL parameters
Using Shopify Liquid Objects as URL Parameter values
However, we can leverage Shopify Liquid Objects within Shopify's Notification emails to populate the URL parameters with values relevant to the email recipient.
In the survey URL below we have inserted the Shopify Liquid Objects for order id '{{ id }} ' and customer id '{{ customer.id }}' as our values:
<a href="https://mystore.myshopify.com/tools/survey/64a14ec19c300?order_id={{ id }}&customer_id={{ customer.id }}">Feedback survey</a>