

If you're using a referral service (or any other service that generates a URL with a specific code at the end), you can use the referral URL's "querystring" as the secret code for your key.įor example, if you're using a referral URL that looks like, you may set your secret link code to "rfsn=abc123", and your Locksmith key will Just Work™. Using a vendor's referral link as a secret code This way, you can unlock several pieces of content across your store, using only a single secret link. If you've got several secret link keys, across different locks, any keys that re-use the same secret code will all be activated when one link is used. For more on this, see Why isn't my passcode, secret link, or newsletter key working?. If you're testing, this can make it look like the key is no longer working. Once a visitor arrives via a secret link, Locksmith will remember their access for a while. The secret link code can be presented in several, valid ways, illustrated here: Having said that, there is some flexibility on how the URL is constructed.

If the customer accidentally adds a character to the end of that link, they won't get access. It's important to note that the secret link code must be an exact match in order to work.
#Locksmith key codes update#
Want your link code to be something different? You can simply change that, and it will update the full link: Click the copy button to copy to your clipboard. It's the regular URL for your locked content, with the secret link code appended to it. The full secret link (bottom box): This is the link you send your customers, or whoever should see the locked content.The secret link code (top box): This is the "secret" part of the link, which you can change to whatever you like.Input lists also allow you to create usage limits on your secret links! So, for example, you could create a large list of secret links that could each only be used one(the input list guide, link just above, gives more information on setting this up). To use the input list version, select it instead of the regular secret link key condition type: Go here for information on setting up input lists. This is great for merchants that want to easily create a large list of unique secret links that can be used. Input lists allow you to store a list of links in a google sheet or other outside file source. Secret links from an input list - It is also possible to use secret links in conjunction with our input list feature. Then, in the lock settings, follow the prompts to create a secret link key: If you need more information on creating a lock, start with our guide here. To configure a secret link, start by creating a lock. This makes secret links useful for secret sales, or for offering specific products that are only available via certain ad campaigns. When a locked resource has a secret link key, only visitors who arrive via that link will be able to view the resource. In Locksmith, a "secret link" is a Shopify URL that contains a "secret code" on the end of it, like this:
