Skip to main content

How to collect customers’ names as part of the quiz?

Written by Wendy

Yes, you can now collect customers names using the new Single-Line Text Field question type:

Image showing the "Single-Line Text Field" question type selected in Lantern Quiz Builder, used to collect customer names.

As with any new question you add to the quiz, you can reposition it anywhere you like. By default these are required to be completed, however you can make this optional.

Image showing the required/optional checkbox for the single-line text field in Lantern, allowing customization of whether answer is mandatory.

Unlike standard quiz questions, input field questions do not impact the product match score, making them ideal for collecting additional customer information without affecting their quiz results.

Integrating with Klaviyo, Omnisend, and Mailchimp

Once you’ve set up your quiz to collect customers' names, you can send this information directly to your Klaviyo, Omnisend, or Mailchimp accounts by configuring the correct Integration ID under the Integrations Settings.

The question must also be set to Normal under Sensitive data for the name to be shared with these integrations. If you choose Don't share or Don't store, the answer will not be sent. Learn more about Sensitive Data Controls.

Image displaying the Integration Settings menu where users can input the correct ID to sync collected customer names with Klaviyo, Mailchimp, or Omnisend.

This ensures that the customer data collected in the quiz, including their names, can be seamlessly integrated into your email marketing workflows, helping you personalize future communications.

Reusing the Name Throughout the Quiz

You can also reuse the customer's name throughout the quiz to create a more personalized experience. This is a great way to engage users and make the interaction feel more tailored to them.

Image demonstrating how to reuse a collected name property throughout the quiz for personalized messaging using dynamic variables.

Reusing a name collected on the email capture page

If you collect the customer’s first name on the email capture page, you can reuse it later in the quiz without adding a separate name question.

Use the predefined variable:

{{ SPECIALNAME }}

The first name field on the email capture page does not need a Property ID. Lantern automatically makes the value available through {{ SPECIALNAME }}.

You can add this variable to text on later quiz pages, including Transition Pages, the Results Page, or other pages that appear after the customer has entered their name.

For example:

Hi {{ SPECIALNAME }}, we've registered your answers and are computing your results...

When the shopper enters their name, Lantern replaces {{ SPECIALNAME }} with the name they provided.

Image showing {{ SPECIALNAME }} used on a Lantern Transition Page and replaced with the customer’s first name in the live quiz.

Note: If the first name field is optional and the shopper leaves it blank, {{ SPECIALNAME }} may display as undefined. To avoid this, you can add a fallback value, for example: {{ SPECIALNAME | default: "Friend" }}

Check out our article on How to use customer answers in Lantern quizzes for a step-by-step guide on setting this up.

Did this answer your question?