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 ask customers for an email address when they arrive on a locked page. Once the email is entered, a customer is immediately granted access, and Locksmith will automatically send the subscription information to the corresponding service.
Note: Mailchimp and Klaviyo both have their own policies regarding double opt in, and it is typically enabled by default. This setting is adjusted in your Mailchimp or Klaviyo dashboards - it is not a setting that is controlled by Locksmith.
Mailchimp
Detailed information on how to setup Mailchimp can be found here:
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 to a signed in customers - if the customer is already subscribed! To start, check out our guide on this here:
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: