How do I install and publish a Klaviyo sign-up form on my website?
The first step has likely already been completed during your ecommerce integration setup of Klaviyo's Web Tracking. Some integrations, such as Shopify and BigCommerce, automatically install klaviyo.js when you set up our built-in integration. If you've already enabled klaviyo.js then you don't need to also install this snippet:
If you haven't, you just need to place the above snippet into your store's main code. Be sure to replace Public API Key with your specific API Key which you can find in your Account > Settings > API Keys. Once you have this installed, all you need to do is navigate to the Sign Up Forms tab and create your form. If it's a pop-up or fly-out all you need to do is set it Live and click Publish. If it's an embedded form, the one extra step is copying and pasting the provided <div> tag anywhere on your website that you want the embedded form to show. Head to our article on Install Klaviyo Signup Forms for more information and a step-by-step guide.