Capturing Marketing consent on Wonderment Tracking Pages with Klaviyo Forms

Updated by Julie

In this guide, we'll walk through the steps of creating an embedded signup form in Klaviyo to collect marketing opt-in. You can then add this form to your Wonderment Tracking Page

Part 1: Creating an Embedded Signup Form in Klaviyo

Login to Klaviyo:

Navigate to the Klaviyo homepage and log in to your account. If you don't have an account, you'll need to create one first.

Create a New Signup Form:

From the Klaviyo dashboard, go to the "Sign Up Forms" tab. Click on "Create Signup Form" and select "Embedded" as your form type. Please refer to the Klaviyo Help Guide here for steps to create a form.

Design Your Form:

Now, you'll be able to customize the form to fit your needs. Be sure to include fields for both email and phone number, as we'll need the phone number for SMS consent.

In the form builder, drag and drop a "Checkbox" field into your form. Label it something like "I consent to receive SMS messages." This will be used to capture explicit SMS consent.

Save and Publish Your Form:

Once you're satisfied with your form, click "Save & Publish." Klaviyo will generate a code snippet for you to add to your website where you want the form to appear.

Embed the Form on Your Website:

  1. Save your form ID.
    To find your form ID, navigate to the embedded form in your Klaviyo account. The form ID is the six-letter code at the end of the URL.
  2. Navigate to your Shopify admin.
  3. Go to Online Store > Themes.
  4. Click Customize.
  5. Navigate to the page template you want to add the form to, such as your Home page.
  6. Click Add Section and scroll down to find Klaviyo Embedded Form under Apps.

You can also copy the generated code and paste it into the HTML of your website where you want the form to appear. 


How did we do?