Newsletter keys

Use Locksmith to only grant access to customers that subscribe to your newsletter
Locksmith allows you to integrate directly with either Mailchimp or Klaviyo. When setup, Locksmith will automatically request that your customers enter their email addresses, like so:


Detailed information on how to setup Mailchimp can be found here:


If using Klaviyo, you have the option to simply request that visitors subscribe in order to gain access:
Or, you can also use Klaviyo to grant access only to those who are already subscribed to a specific list in your Klaviyo account:

Using your default Shopify mailing list

Shopify ships out of the box with a marketing mailing list service. If you would like to use Locksmith to grant access to those who have already subscribed to this, you can do so using a custom Liquid key condition.
This is slightly different than the above options, in that it will only grant access if the customer is already subscribed! To start, check out our guide on this here:
The condition you're looking for is:
{% if customer.accepts_marketing %}
When set up, this will present the customer will the regular prompt to sign in (as opposed to the subscription prompt):
If desired, you can adjust your message prompt to direct your customers to the page footer(in most stores) to subscribe to your newsletter. More information on editing messages here:

Using other mail services

Locksmith does not support other mail services at this time.
Please feel free to contact us via email at [email protected] if you have any questions!