Newsletter keys
Use Locksmith to only grant access to customers that subscribe to your newsletter
Last updated
Use Locksmith to only grant access to customers that subscribe to your newsletter
Last updated
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.
Detailed information on how to setup Mailchimp can be found here:
Use Mailchimp to collect customer emailsIf using Klaviyo, you have the option to simply request that visitors subscribe in order to gain access:
Grow your subscriber lists with KlaviyoOr, you can also use Klaviyo to grant access only to those who are already subscribed to a specific list in your Klaviyo account:
Use Klaviyo as an access control listShopify 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:
Liquid key basicsThe 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:
Customizing messagesLocksmith does not support other mail services at this time.
However, if you have a mail service that automatically tags customers that are subscribed, you can use Locksmith to check for a customer tag:
Customer account keysPlease feel free to contact us via email at team@uselocksmith.com if you have any questions!