How to Subscribe Users to Klaviyo Using jQuery
by Alexa Engelhart •
Have you ever wanted to connect a custom form to Klaviyo? Whether it’s an already existing form or a new form you are building and you don’t want to use a Klaviyo embed, you’re in luck. In this guide, we will go over how you can easily subscribe users to a Klaviyo list using jQuery.
Creating a function to connect to Klaviyo
To start, let’s create a function that we can reuse throughout our site for multiple forms: