Grow your subscriber lists with Klaviyo

Locksmith allows you to present your customers with a form to subscribe to a Klaviyo email list, which the customer must enter before they gain access to the locked content:

Setup

To get started, create a new lock or navigate to the lock you'd like to use, then add the key condition labelled "if the customer subscribes to a Klaviyo list".

You can optionally filter the list by typing "klaviyo" as the filter.

You'll notice that Locksmith also supports only checking if a customer is already on a list (as opposed to subscribing them). This is a separate key condition, and it also supports checking segments! We have a dedicated guide on that here.

You'll need to create a Klaviyo API key and give it to Locksmith (see below). Once you do that, you'll be presented with your Klaviyo lists, and you'll be able to choose which one to use like so:

As noted within the key condition setup, Klaviyo has their own policies regarding double opt in, and it is typically enabled by default. This setting is adjusted in your Klaviyo dashboard - it is not a setting that is controlled by Locksmith.

Klaviyo API Access

The first time you select this, Locksmith will prompt you for a Klaviyo API key:

In your Klaviyo dashboard, go to Settings > Account > API Keys. You can also use the "from your Klaviyo account" link within Locksmith to go directly there:

Click the "Create Private API Key" button to create a key for Locksmith. You'll see the new key on the next screen.

The scopes that Locksmith needs full access to from the Klaviyo API key are "List", "Profiles", and "Subscriptions":

Copy the API key:

Then, head back to Locksmith, where you'll be able to paste in the key. Click "Continue", and Locksmith will present you with a list of Klaviyo lists, to which your new subscribers will be saved.

Once your Locksmith configuration is to your liking, hit the "Save" button. From here on out, new visitors to your locked resource will be required to subscribe before proceeding.

Note: any customers who are already in your list will be seamlessly granted access when they enter their email address, and will not be added as a duplicate.

Customizing the email list signup formUse a Klaviyo list or segment as an access control listNewsletter keys

Last updated

Was this helpful?