Send quiz results to Klaviyo

Connect your Klaviyo account once, and every shopper who leaves their email after a quiz gets their result saved on their Klaviyo profile, plus an event with the recommended products you can use in flows. No developer and no code in your theme.

Setup takes about 10 minutes, plus the time to build your flow.

What you need

  • The Starter or Growth plan. Klaviyo is not part of Free; choose a plan under Settings, Plan.
  • A Klaviyo login that is allowed to create private API keys
  • A quiz in BlastRev, ideally already live

1. Create a private API key in Klaviyo

  1. In Klaviyo, open Settings, then API keys.
  2. Select Create private API key and name it BlastRev.
  3. Choose Custom key and give Full access to:
    • Events: to record "BlastRev Quiz Completed"
    • Lists: to show your lists in BlastRev and subscribe shoppers to one
    • Profiles: to save the quiz result on the shopper's profile
    • Subscriptions: to record the shopper's email consent
  4. Create the key and copy it. It starts with pk_.

Klaviyo shows the full key only once. If you lose it, create a new one.

2. Connect Klaviyo in BlastRev

  1. In BlastRev, open Settings.
  2. Paste the key into Private API key and select Connect Klaviyo.
  3. BlastRev checks the key with Klaviyo before saving it. If Klaviyo rejects it, you see the reason and nothing is saved.
  4. Under Subscribe shoppers to, pick the list new subscribers should join, then select Save. Pick No list, only save the result if you only want the profile data and event.

The key is encrypted before BlastRev stores it. To remove it, select Disconnect. Quizzes then stop asking for email until you connect again. Data already in Klaviyo stays there.

If you switch to Free, the key stays saved but quizzes stop asking for email; choose Starter or Growth again to turn it back on. Uninstalling BlastRev deletes the key and list.

If you later delete the key in Klaviyo or remove one of its permissions, Klaviyo starts refusing quiz results. BlastRev then emails you once, shows a red banner on the BlastRev home page and in Settings, and quizzes stop asking shoppers for their email until it is fixed. Paste a new key into Replace private API key to fix it; the banner disappears and quizzes ask for email again.

3. Turn on "Ask for email" in each quiz

Open a quiz and find Ask for email under Settings:

OptionWhat shoppers see
NoNo email field. This is the default.
On the results pageA "Keep your results" form below their product matches
Before the results, with a skip optionA "Want your results by email?" step after the last question, with Skip and see results

Select Save. If the quiz is live, the change shows in your store right away. Without a Klaviyo connection, or on the Free plan, the storefront skips the email step, whatever you pick here.

The email form always has a consent checkbox. Its text follows your theme's language:

Theme languageCheckbox text
German (de, de-AT, de-CH and other German variants)Schickt mir mein Ergebnis sowie Tipps und Angebote per E-Mail. Ich kann mich jederzeit abmelden.
Any otherEmail me my results, plus tips and offers. I can unsubscribe at any time.

The checkbox also comes in French, Spanish, Italian, Dutch and Portuguese, following the theme language. Other languages show the English text. The event carries the shopper's language as Language, the result in that language as Result, and the main-language result as ResultKey; the profile property BlastRev language holds the language too.

Nothing is sent until the shopper ticks it. The form asks them to tick the box if they try without it, and BlastRev's server refuses requests without consent as well.

When the box is ticked and you picked a list in Settings, BlastRev subscribes the email to that list for email marketing, with the source "BlastRev quiz: <quiz name>".

The checkbox text cannot be edited yet. Check that it fits your privacy policy and the rules in the countries you sell to. Each completed quiz can send one email; a second submit is ignored.

What BlastRev sends to Klaviyo

BlastRev does not store the email address. It passes it straight to your Klaviyo account.

Profile properties

Saved on the shopper's profile, so you can build segments:

PropertyValueExample
BlastRev: <quiz name>The result for that quizBlastRev: Hair porosity test = High porosity
BlastRev last quizName of the most recent quizHair porosity test
BlastRev last resultResult of the most recent quizHigh porosity

Each quiz gets its own BlastRev: … property, so a shopper who takes two quizzes keeps both results. If the quiz ends without a result, the value is empty.

The "BlastRev Quiz Completed" event

One event per completed quiz with an email, under the metric BlastRev Quiz Completed. The metric appears in Klaviyo after the first event arrives, so take your own quiz once with a real email before building the flow.

PropertyTypeContent
QuiztextQuiz name
ResulttextResult name, or empty
ResultDescriptiontextThe "What this result means" text, or empty
AnswersobjectEach question shoppers saw, with the answer they picked
RecommendedProductslistThe products shown, in order

Each item in RecommendedProducts has:

PropertyContent
TitleProduct title
URLFull product URL in your online store
ImageURLMain product image, or empty
PriceLowest variant price, as a number
CurrencyCurrency code, for example USD or EUR

Products without an online store URL are left out of the event.

Sample flow: email shoppers their results

  1. In Klaviyo, open Flows and select Create flow, then Build your own.
  2. Name it Quiz results and choose the trigger Metric, then BlastRev Quiz Completed.
  3. Optional: add a trigger filter such as Quiz equals Hair porosity test to send a different email per quiz.
  4. Add an Email action with no delay.
  5. Subject line: Your result: {{ event.Result }}
  6. In the email, add a Text block for the result and a block with the product loop below.
  7. Optional: add a Time delay of 3 days, then a follow-up email with routine tips for that result, split by event.Result.
  8. Set the flow live.

Klaviyo sends marketing flow emails only to profiles that can receive marketing. Picking a list in BlastRev Settings is what records that consent.

Paste this into a Text block in source view, or an HTML block:

<h2>Your result: {{ event.Result }}</h2>
<p>{{ event.ResultDescription }}</p>

{% for product in event.RecommendedProducts %}
  <table role="presentation" width="100%" style="margin-bottom:24px;">
    <tr>
      <td width="140" valign="top">
        {% if product.ImageURL %}
          <a href="{{ product.URL }}"><img src="{{ product.ImageURL }}" width="120" alt="{{ product.Title }}" style="display:block;"></a>
        {% endif %}
      </td>
      <td valign="top">
        <p style="margin:0 0 4px;font-weight:bold;">{{ product.Title }}</p>
        <p style="margin:0 0 12px;">{{ product.Price|floatformat:2 }} {{ product.Currency }}</p>
        <a href="{{ product.URL }}">View product</a>
      </td>
    </tr>
  </table>
{% endfor %}

To show only the first match, use {% for product in event.RecommendedProducts|slice:":1" %}.

You can also use a Table block with a dynamic row collection: set the row collection to event.RecommendedProducts, the row alias to product, and use {{ product.Title }}, {{ product.ImageURL }} and {{ product.URL }} in the cells.

Tip: use Preview and test with a profile that has a real BlastRev event to check the loop before going live.

Troubleshooting

ProblemFix
"Paste a Klaviyo private API key. It starts with pk_."You pasted a public key or site ID. Create a private key (step 1).
"Klaviyo did not accept this key"The key was deleted or lacks access. Create a new key with the four scopes above.
Anything elseEmail support@blastrev.com. We answer within one business day.
"Klaviyo is part of the Starter and Growth plans."Choose Starter or Growth under Settings, Plan, then connect.
The quiz shows no email fieldCheck your plan, that Klaviyo is connected and that Ask for email is not No, then save the quiz.
No BlastRev Quiz Completed metricNo event has arrived yet. Take your live quiz once, tick the box and submit.
"We could not save your email. Please try again." (German: "Deine E-Mail konnte nicht gespeichert werden.") in the storeKlaviyo refused the request. Check the warning in BlastRev Settings and replace the key if needed.

Still have a question?

Write to support@blastrev.com. We answer within one business day, in English or German.