Skip to main content

Set up Klaviyo Segments

A step by step guide with examples on how to create Klaviyo segments using quiz answers, questions and recommended results

Ana Bunaiasu avatar
Written by Ana Bunaiasu
Updated today

If you prefer, you can check out this information in video format.

In this guide, we will walk through the process of creating Klaviyo segments using properties provided by Lantern.

Once your segment is created, it's dynamic - meaning it updates as customers meet or no longer meet the defined criteria. This allows your email campaigns to adapt to these segments, automatically adding new customers who meet the segment's rules.

Step1: Create a new Segment

1.1 Log in to your Klaviyo account.

1.2 From the dashboard, locate the Lists & Segments option on the left-hand menu and click it.

1.3 Click on the ‘Create New’ button and select 'Create Segment' to start creating a new segment.

Image showing the Klaviyo dashboard on the Lists & Segments page, with the 'Create New' button selected and 'Create Segment' option highlighted.

Step2: Create Segment Rules

To create segments you can use both the custom properties Lantern creates for each quiz taker as well as the Completed Lantern Quiz (v2) event. Here are some examples:

2.1. Quiz Answers: Use these to create segments based on the responses customers have provided during the quiz. For instance, to create a segment for customers who selected Dog as their pet type in question 2, choose 'Properties about someone' -> 'Answer(2)' -> 'Equals', and then select Dog from the second dropdown.

Image showing Klaviyo segment rule setup with 'Properties about someone' selected, using Answer(2) equals Dog to filter customers who answered "Dog" to question 2 in the quiz.

2.2 Create Segments Based on a Sequence of Quiz Answers

  • 2.2.1 Using Numbered Quiz Answers: You can create segments based on a sequence of quiz answers by adding new rules

Image showing Klaviyo segment builder with multiple conditions using numbered quiz answers to define more complex audience rules.

  • 2.2.2 Using Specific Klaviyo Property IDs: You can use specific property IDs assigned to each question in the quiz. These property IDs (e.g., pet_type, food_preference) make the setup clear and easier to manage, especially when you have multiple quizzes in your store.

    The Klaviyo property ID for each question is located under Integrations in the right-hand menu of the quiz builder.

For example, if you want to create a segment for customers who selected Dry Food as their pet’s food preference, you would choose Properties about someone, select the property ID food_preference, set the condition to Equals, and then choose Dry Food as the value.

Image showing Klaviyo segment condition using the property ID "food_preference" equals "Dry Food" to segment users based on their answer.

3.1 Recommended Products: Segment customers based on the products recommended to them. In our example, we’re interested in creating a segment for the customers who have been recommended Turkey & Pea Grain-Free Dog Food as one of their quiz results. For this, we will use the ProductName property.

Image showing Klaviyo segment rule using the ProductName property to target customers recommended specific products, including "Turkey & Pea Grain-Free Dog Food" among other examples.

In this example, we show a total of 3 quiz results so we want to include all customers that have been recommended this product regardless if it was their 1st, 2nd or 3rd result.

4.1 Quiz Questions: Segment customers based on the questions they were asked during the quiz. This is especially relevant if you have logic jumps in your quiz and you know only certain customers will be asked certain questions based on their previous answer selection. You can use this to create a rule based on what that question would be for this specific group of customers using the Question property:

Image showing Klaviyo segment builder with a condition using the Question property to filter customers based on the quiz question 'How often do you exercise your pet?'.

5.1 Product Information: Use the price, Shopify product ID, or store URL of the recommended results as a base for your segmentation. The respective properties are: Price, ProductID and Url.

Image showing Klaviyo segment conditions using properties like Price, ProductID, and URL to create segments based on product metadata.

Please note: Whilst most of our properties are text properties, when using Price the type should be changed to number.

Image showing Klaviyo segment builder with the Price field selected and value type set to Number to filter customers based on product price.

Additional available properties include product currency and image URL.

6.1 Quiz Completion: You can create segments based on whether someone has completed a specific quiz. This is especially useful for stores with multiple quizzes.

Image showing Klaviyo segment rule using the Completed Lantern Quiz (v2) event to target customers who finished a specific quiz.

Step3: Name and Create your Segment

3.1 Assign a descriptive name to your new segment that reflects its purpose. Once named, click the Create Segment button to save it.

Image showing the final step in Klaviyo segment creation where a name is entered for the segment and the 'Create Segment' button is selected.

By integrating data from Lantern quiz, you can create highly targeted segments in Klaviyo that increase the relevance and effectiveness of your email marketing. Remember to regularly revisit and refine your segments to ensure they continue to deliver value to your campaigns.

For more information on creating Klaviyo segments please check out the following article.

Did this answer your question?