Integrating with Klaviyo allows you to build personalized email campaigns based on your customers’ quiz answers.
To get started, make sure you have a Klaviyo account.
This integration is completed in two steps:
Connect Klaviyo to Lantern
Connect Klaviyo to your quiz
Step 1: Connect Klaviyo to Lantern
Open Lantern from your Shopify admin
Go to the Integrations tab
Click Connect on the Klaviyo card
In the popup, click Connect Klaviyo
You will be redirected to Klaviyo
Log in and click Allow to grant permissions
Once completed, you'll be redirected to the Lantern Integrations page, where Klaviyo should now show up as Connected.
Note: If you previously connected Klaviyo using API keys, you may see an option to upgrade to the new connection. We recommend switching to the new connection to ensure the integration continues to work as expected.
Step 2: Connect Klaviyo to your quiz
To start collecting data from a quiz, you need to connect it to a Klaviyo list.
In Klaviyo
In Klaviyo, go to Audience → Lists & Segments
Click Create and select List
Name your list and click Create List
Open your list and go to Settings
Copy the List ID
In Lantern
Open your quiz
Go to More Integrations
Find Klaviyo and click Activate
Paste your List ID
Click Save and republish your quiz
Make sure the Quiz contains an Optin Page.
If your quiz does not already include one, you can add it by clicking + Add Page in the Quiz Builder and selecting Opt-in Page.
Once this is set up, customers who complete the quiz and submit their email will be added to your selected Klaviyo list.
In Klaviyo, each customer profile will include a Completed Lantern Quiz (v2) event with their quiz answers and recommended products.
To the left of the Activity Log , you will find Custom Properties which is a detailed list of all information synched from the quiz such as Questions and their Answers, Product Results with Price, Currency, Product ID, Product Name, and Product URL.
This more granular information that will help you write personalized e-mail recommendations through Klaviyo Email Flows.
Please note that data coming in from the quiz completions inside Klaviyo is organized in alphabetical order, which is why Answers are at the top of the list and Questions at the bottom.
In case you need step by step instructions on how to create segments in Klaviyo, that is documented in this help article.














