This article presumes that you already have the unique URL of your on-site survey available.
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 adding your unique on-site survey URL into one of Shopify notification templates β such as the Order Confirmation email β you can make use of Shopify liquid objects to pre-fill URL parameters with personally identifiable information:
The on-site survey URL
This is an example of how our basic on-site survey URL might appear:
https://mystore.myshopify.com/tools/survey/64b51408bf775
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
email
Here is an example of a pre-populated on-site survey URL containing the customer id and the order id:
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 on-site survey URL, please see the following guide pre-populating the on-site survey URL with personally identifiable data.
Inserting Shopify liquid objects as the URL parameter values
In the on-site 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>
You can also use liquid objects to pre-populate the email, first name and last name parameter values.
Need any help?
If you have any questions about the content of this article or any other Grapevine Surveys related question, then please do just get in touch.