Your address will show here +12 34 56 78
eCommerce, Email Marketing
Tired of poking around in Klaviyo and Shopify to try and get your custom form to appear? Don’t fear. Forge is here! Let us teach you how to embed your form with quick, easy to follow steps so you can stop banging your head on that keyboard! At Forge Digital Marketing, we pride ourselves on being a Klaviyo Silver Partner and a Shopify Partner. Our expertise in these platforms allows us to help businesses like yours maximize their marketing potential. Today, we’ll guide you through the process of embedding a Klaviyo form on your Shopify store. Whether you’re looking to grow your email list or engage more effectively with your customers, embedding a Klaviyo form is a crucial step.


Embedding a Klaviyo form on your Shopify store is a fantastic way to capture leads and boost customer engagement. Klaviyo forms are versatile, customizable, and designed to integrate smoothly with Shopify, making them a perfect choice for store owners looking to enhance their marketing efforts. In this guide, we’ll walk you through each step of the process, ensuring you can implement this powerful tool effortlessly.

Why Use Klaviyo Forms on Your Shopify Store?

Before we dive into the how-to, let’s quickly cover why Klaviyo forms are beneficial for your Shopify store:

  • Increased Customer Engagement: Capture leads, promote special offers, and gather valuable customer insights.
  • Customization: Tailor forms to fit your brand’s aesthetic and specific needs.
  • Seamless Integration: Easily connect with your existing Shopify setup without technical hiccups.
  • Enhanced Conversion: Utilize captured data to send personalized emails and improve your marketing campaigns’ performance.

Getting Started: Prerequisites

To embed a Klaviyo form on your Shopify store, ensure you have:

  • A Klaviyo account.
  • A Shopify store.
  • Admin access to both platforms.

Step-by-Step Guide to Embedding a Klaviyo Form

Create Your Klaviyo Form

  1. Log into Klaviyo: Navigate to your Klaviyo account and go to the ‘Signup Forms’ tab.
  2. Create a New Form: Click on ‘Create Signup Form’ and select the type of form you want (e.g., pop-up, flyout, embedded).
  3. Customize Your Form: Use Klaviyo’s form builder to customize the design, fields, and behavior of your form. Make sure it aligns with your brand’s style and objectives.

Configure Form Settings

  1. Form Targeting & Behaviors: Set when and where the form should appear on your site (e.g., after a certain scroll depth, exit intent). This is a great place to revisit if you want to restrict your content to only showing on product pages, only to new users not yet subscribed to your Klaviyo lists and many more options! 
  2. Success Message & Integrations: Customize the success message and ensure the form is set to sync with your Klaviyo lists. If you’re offering an incentive like a coupon code for the user to subscribe, either place it in the success message or make sure you have a flow setup to deliver the (ideally dynamic) coupon to new subscribers.

Embed the Form on Shopify

    1. Generate the Embed Code: After saving your form in Klaviyo, navigate to the ‘Embed Code’ section and copy the code provided.
    2. Log into Shopify Admin: Go to your Shopify admin dashboard.
    3. Access Theme Editor: Under ‘Online Store,’ click ‘Themes,’ then ‘Actions,’ and select ‘Edit Code.’
    4. Add Code to Theme: Depending on where you want the form to appear, you can add the embed code to a specific theme file (e.g., theme.liquid, footer.liquid, or page.liquid).
    5. shopify embed klaviyo form
If you have a store using a Shopify 2.0 theme (which we really hope you do, it’s 2024) then you can use the Customizer App Embed drag and drop feature to drop in a form nearly anywhere you would want by adding a block and selecting the Klaviyo Form Embed. You will need your form ID to enter here which you can get from clicking on the edit button for the form you’re working on and then observing the 6 digit code at the end of the URL you’re on. Grab that URL extension 6 digits/characters and paste it into your Shopify drag and drop block element to make it come to life.embed a klaviyo form in shopify customizer
  1. Save & Publish: Save the changes to your theme file and publish them to see the form live on your store.
If you’re still facing issues, you might need to access the Shop Customize Theme section in Shopify and head to the App Embeds tab (normally on the far bottom left navigation in the theme customizer menu) and toggle on the Klaviyo javascript code. This should enable your integration! Peep the screenshot below:

Klaviyo app embed for onsite tracking in Shopify toggled off

Tips for Optimizing Your Klaviyo Forms

  • A/B Testing: Experiment with different form designs and placements to see what works best for your audience.
  • Clear Call to Action: Ensure your form has a compelling call to action that entices visitors to subscribe.
  • Mobile Responsiveness: Make sure your forms look great and function well on all devices.

Leverage Our Expertise

At Forge Digital Marketing, we’re not just Klaviyo experts; we’re also a Shopify Partner. Our team has been recognized for outstanding work in leveraging Klaviyo’s tools to boost eCommerce success. If you need personalized assistance or want to optimize your Klaviyo marketing strategy, we’re here to help.

Subscribe for More Insights

Stay ahead of the curve with the latest tips and tricks in digital marketing. Subscribe to our email list for more how-to guides and expert advice. If you need immediate assistance or have any questions, feel free to reach out to us directly. Let’s take your Shopify store to the next level together!