A quick note about testing secret links

When you follow a secret link, Locksmith will remember you, saving a session cookie in your browser. That means that when you come back to view the shop, you'll likely still have access, making it seem like the lock isn't working. 

So, when testing secret links, be sure to use a new private browser window each time. That will show you what a new visitor will see.

Creating secret links

To create your secret link key, choose it from the keys dropdown, and you'll see the secret link interface box pop up: 

Secret links consist of two parts:

  • The secret link code (top box): This is the "secret" part of the link, which you can change to whatever you like. 
  • The full secret link (bottom box): This is the link you send your customers, or whoever should see the locked content. It's the regular URL for your locked content, with the secret link code appended to it. Click the blue button to copy to your clipboard. 

Want your link code to be something different? You can simply change that, and it will update the full link:

Secret link formatting

It's important to note that secret links must be exact to work. If the customer accidentally adds a character to the end of that link, they won't get access. But, secret links do support keyvals before and after the secret link code. For instance, using the example above, these formats are valid:

https://locksmith.myshopify.com/pages/location?MYSUPERSECRETLINKsecret&utm_foo=bar

https://locksmith.myshopify.com/pages/location?utm_foo=bar&MYSUPERSECRETLINK

Omnisend and Secret Links

If you're sending your secret links through the service Omnisend, you'll need to format the secret link like this before you add it:

https://locksmith.myshopify.com/pages/location?ls=MYSUPERSECRETLINK

Notice the secret link code format is this, after the regular URL for the page: 

?ls=MYSUPERSECRETLINK

You'll need to add that "ls=" in there yourself, but when Omnisend gets that, everything will work properly. 

Explanation: Omnisend sees the Locksmith secret link as "broken" and tries to fix it. That's because the secret link is non-standard, and they're trying to make sure everything works. Using this format will make Omnisend happy. :)



Did this answer your question?