Capturing Marketing consent on Wonderment Tracking Pages with Klaviyo Forms
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.
Add an SMS Consent Checkbox:
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:
- 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.
- Navigate to your Shopify admin.
- Go to Online Store > Themes.
- Click Customize.
- Navigate to the page template you want to add the form to, such as your Home page.
- Click Add Section and scroll down to find Klaviyo Embedded Form under Apps.