Skip to main content

Customize the Results Page using customer answers

Wendy avatar
Written by Wendy
Updated this week

To make your Results Page as personal as possible, you can reuse customer answers or quiz inputs on your Results Page so the recommendations feel more tailored and increase engagement and conversion.

You can achieve this using Property IDs, which are variables that store the answer or input from any Lantern question and store it in this Property ID that you can set in the right hand side menu of any quiz page. Once the quiz taker makes a selection or enters a value, you can reuse it in follow-up questions and in any text that comes next in the quiz, including on the Results Page.

Image showing the Lantern quiz editor with the General settings dropdown open in the right-hand panel, and the Property ID field set to first_name.

To display answers on the Results Page, make sure the questions you want to reference have Property IDs set and wrap it in double curly braces, like so {{ first_name }}.

Some answers in your quiz can be harder to reuse naturally in a sentence. For example, in the question below “Anything is fine” can be hard to reuse in a sentence and this is why under each answer you have special Assigned Values.

Image showing a quiz question with the Property ID set to favorite_food, with the “Anything is fine” answer highlighted to show an option that can be harder to reuse naturally in a sentence.

In cases like this the assigned value will replace the answer “Anything is fine” whenever it is selected with what you inputed in the quiz editor. This is not visible in the live quiz but only in the quiz editor.

You can use assigned values to replace an answer with wording that reads more naturally when reused in text.

Image showing a quiz question in the Lantern editor where the “Anything is fine” answer has an Assigned value of “pretty much anything,” alongside a live preview where the text reuses {{ favorite_food }} and displays “pretty much anything.”

To learn how to set up assigned values, check our assigned values section of this article.

For using Property IDs throughout the quiz, check our article How to use customer answers in Lantern quizzes.

How to manipulate the value stored in a Property ID

To help you further refine how you can use this information, we've added a range of text manipulation functions:

  1. Capitalize - Turns the first letter of a word into uppercase.

    ◦ Input: james

    ◦ Output: Hi {{ first_name | capitalize }}, nice to meet you!

    ◦ Result: Hi James, nice to meet you!

  2. Lowercase - Turns all letters into lowercase.

    ◦ Input: JaMeS

    ◦ Output: Hi {{ first_name | lowercase }}, how's your day?

    ◦ Result: Hi james, how's your day?

  3. Uppercase - Transforms all letters into uppercase.

    ◦ Input: JaMeS

    ◦ Output: Hi {{ first_name | uppercase }}, shoutout to you!

    ◦ Result: Hi JAMES, shoutout to you!

  4. Trim Functions - Remove unwanted spaces:
    Trim: Strips spaces from both start and end.
    ▪ Input: "[space]James[space]"

    ▪ Result: {{ first_name | trim }} becomes “James” with no spaces

    TrimEnd: Removes spaces only from the end.

    ▪ Input: "James[space]"

    ▪ Result: {{ first_name | trimEnd }} becomes “James” with no spaces

    TrimStart: Eradicates spaces just from the start.

    ▪ Input: "[space]James"

    ▪ Result: {{ first_name | trimStart }} becomes “James” with no spaces

  5. Default - As covered, it provides a default value. The syntax is:

    {{ property_name | default: "Your Default Value" }}

    In many quizzes, certain information, like a first name, is optional. In those cases, you can set a default value to display instead. For example:

    Your cat, {{ cat_name | default: "the cute fearless feline" }}, deserves the best food!

    Image showing a side by side view of the quiz editor and live preview demonstrating the default filter, where cat_name falls back to the default text set to “the cute fearless feline” when no name is entered.

    If the quiz taker leaves the cat’s name blank, Lantern will use your default text instead, so the live preview shows “Your cat, the cute fearless feline, deserves the best food!”

  6. Replace: This function allows you to replace specific strings or characters within your captured data. For instance, if you want to replace the input "a" with the input "b", you'd use it as shown below:

    {{ input_data | replace: "answer or input", "replaced value" }}

    The replace filter is useful when you want to reuse an answer but adjust one specific value so it reads better in a sentence.

    For example, imagine a question like “What is your pet’s favorite type of food?” with answers such as “Chicken”, “Fish”, and “Anything is fine”, stored under the Property ID favorite_food.

    Later in the quiz, you might want to reuse this answer in a sentence like:
    We noted your pet’s favorite food is {{ favorite_food }}, and used it to choose the best recommendations.


    This works nicely for “Chicken” or “Fish”, but “Anything is fine” may feel a bit awkward in that sentence. You can use replace to swap that one specific answer with friendlier wording:
    We noted your pet’s favorite food, {{ favorite_food | replace: "Anything is fine", "pretty much anything" }}, and used it to choose the best recommendations!.

    Image showing the Lantern quiz editor with a question that stores answers under the Property ID favorite_food, and a Transition Screen below where the replace filter is applied to replace “Anything is fine” with “pretty much anything” when reusing {{ favorite_food }} in the text.

    With this setup, “Chicken” and “Fish” will display as they are. If the customer chooses “Anything is fine”, the sentence will display “pretty much anything”, which reads more naturally.

Chaining Functions

To take your customization up a notch, you can chain these functions using standard liquid syntax. Here’s how:

Hi {{ first_name | trim | capitalize | default: "friend" }}, how are you?

By applying this, if someone had entered their name, " james ", with a lower case and a space in front, it would be important to make sure we remove any spaces first with trim, then capitalize the name. No matter what they input they would be addressed as "Hi James, how are you?". If they hadn't entered a name at all, it would display "Hi friend, how are you?"

Where you can use customer answers on the Results Page

You can reuse customer answers in any text field on the Results Page, including:

  • Headline and Sub-headline at the top of the page

Image showing the Results Page editor with the Headline and Subheadline fields highlighted to indicate where Property IDs can be reused.
  • Dynamic Content Blocks for more targeted routines or explanations

Image showing the Dynamic Content Block editor in the Results Page, where you can write content and reuse Property IDs inside the block text.

Using Property IDs in the Results Page Headline and Subheadline

In this example, the quiz asks for the quiz taker’s first name, the type of pet they have, the pet’s name, the pet’s age, the type of food the pet prefers, and any dietary needs. Each of these questions has a Property ID set.

Headline example

Hi {{ first_name | default: "fellow pet owner" }}, here’s a personalized nutrition plan for your {{ pet_age }} {{ pet_type | lowercase }}, {{ pet_name }}

Sub-headline example

You told us {{ pet_name }} prefers {{ favorite_food }}, and regarding dietary needs you mentioned {{ dietary_needs | default: "balanced nutrition" }}. Since {{ pet_name }} is a {{ pet_age | lowercase }} {{ pet_type | lowercase }}, we focused on formulas that support steady energy.

Image showing a side by side view where the left panel displays the Results Page editor with Headline and Sub-headline text written using Property IDs, and the right panel shows the live Results Page preview with the rendered values highlighted (for example the quiz taker name, pet name, pet age, favorite food, and dietary needs).

Image showing the Lantern quiz editor with the General settings dropdown open in the right-hand panel, and the Property ID field set to first_name.

If you prefer to capture the quiz taker’s first name on the email (opt-in) page instead of with a separate input question, you can reuse that name on the Results Page with a built-in Property ID in Lantern: {{ SPECIALNAME }}.
For example:

Hi {{ SPECIALNAME }}, here are your best matches.

This works in:

  • The Results Page headline and sub-headline

  • Dynamic Content Blocks on the Results Page

Important: If the first name field on the opt-in page is optional and the quiz taker skips it, using {{ SPECIALNAME }} on its own will show undefined. To avoid that, use a default value so the Results Page still reads naturally when the field is blank.

Example with the opt-in first name ({{ SPECIALNAME }})

Hi {{ SPECIALNAME | default: "Friend" }}, here are your results.

Using Property IDs in the Dynamic Content Blocks

Dynamic Content Blocks let you show different text on the Results Page based on customer answers. This makes it easier to write more targeted copy for specific quiz takers, compared to the Headline and Sub-headline where the text should still read well across many combinations of answers.

In this example, we’ll create two variants based on if the quiz taker selects the answer cat or dog. Each variant can use the same Property IDs, but the wording can be tailored to that specific pet type.

Image showing the Dynamic Content Block editor configured for the Cat variant with Property IDs in the rich text field, alongside the live Results Page preview showing the Cat variant output.

Image showing the Dynamic Content Block editor configured for the Dog variant with Property IDs in the rich text field, alongside the live Results Page preview showing the Dog variant output.

If you’re new to Dynamic Content Blocks, check out our dedicated guide for more details on how they work.

Testing your setup

Hi {{ first_name | trim | capitalize | default: "Friend" }}, here are your matches.

Before publishing, always:

  1. Take the quiz a few times using different test inputs.

  2. Check that:

    • Names and other answers show correctly on the Results Page.

    • Fallbacks (like "Friend") work when fields are left blank.

    • Any Dynamic Content Block variants that reference answers are displaying expected text.

  3. Fix typos in Property IDs (they must match exactly) if anything isn’t appearing.

For a full overview of all Results Page settings, match score, layout, buttons, discounts, and more, check out “Set up your Results Page.” You can also revisit our guide on using customer answers in quizzes if you need a refresher on capturing answers and using formatting filters.

With these patterns in place, you can turn your Results Page into a more personalized, conversational experience that feels tailored to each quiz taker.

Did this answer your question?