Klaviyo URL Templates
Send your survey's public link through Klaviyo and pass customer and order data along with it
Paste your survey's public link into any Klaviyo email or SMS template and responses flow back into Zigpoll and Klaviyo. This page covers what the link looks like, when you need to add anything to it, and the URL parameters to use if you do.
Your public link
Every survey has one public link. Find it on the survey's General tab (it is also shown under Delivery when the format is Link). It looks like this:
https://survey.zigpoll.com/SURVEY_IDFor example: https://survey.zigpoll.com/31jincXePxjzkeUA5. Accounts with a custom survey domain will see their own domain in place of survey.zigpoll.com.
With the Klaviyo integration you usually need nothing extra
If you have enabled the Klaviyo integration, send the public link exactly as it appears. Klaviyo appends its own tracking parameter (_kx) to every link in an email it sends, and Zigpoll uses that parameter with the Klaviyo API to look up the recipient's profile. The respondent's email is attached to their response automatically, and the completed survey is posted back to that same Klaviyo profile.
Add URL parameters only when you want more than identity: a Shopify order or customer ID for order and customer tagging, a checkout URL for abandoned cart flows, or a plain tag to tell one send apart from another.
Adding parameters to the link
There are two ways to add parameters. Both produce the same result.
Type them directly. Append ?key=value pairs to the link, separated by &. Klaviyo template tags work anywhere in the value:
https://survey.zigpoll.com/SURVEY_ID?email={{email}}&name={{first_name}} {{last_name}}Use the link builder. Under the public link on the survey's General tab, click Add query variables to your public link. Enter a key and value for each parameter and copy the generated link.
Every parameter on the link is saved as metadata on the response. See Public Link for more on how query parameters are stored.
Templates
Abandoned cart flow
Include the checkout URL and email so the response is linked to the correct abandoned cart:
shopify_checkout_url
{{event.extra.checkout_url}}
email
{{email}}
Post purchase flow
Include the order ID, customer ID, name, and email:
shopify_order_id
{{event.extra.id}}
shopify_customer_id
{{event.extra.customer.id}}
name
{{event.extra.customer.first_name}} {{event.extra.customer.last_name}}
email
{{email}}
General email template
For a campaign that is not tied to a Shopify event, the email address is enough:
email
{{email}}
This is also the template to use if you have not connected the Klaviyo integration and still want responses tied to an email address.
Paste the finished link into your Klaviyo template and the data will start flowing into your Zigpoll dashboard.
Last updated
Was this helpful?

