It only takes a few minutes to install Photolock on your website. Once installed, you’ll be able to control & limit actions that your website's visitors can perform on your site.

Note: You'll need a Photolock trial or subscription to install the code.

Install the JavaScript code

We offer automated installation for Shopify stores and manual installation required for all other websites. 

Just copy the first code snippet in your Photolock settings, where we pre-populate your website id (this is called your shop or website domain in the code) for you.

Or you can quickly grab it from here instead:

<script type="text/javascript" id="photolockScript" src="https://www.photolock.io/lock.js?shop={{shop.permanent_domain}}" async defer></script>
<noscript id="photolockNoscript"><style>body *{display:none}body:before{content:"Please enable javascript to view this site"}</style></noscript>

How to use the code 

  • Paste the code right before the closing head tag of every page.
  • IMPORTANT: If you copy the code snippet above you'll need to manually change your shop (this is called your shop or website domain id in the code). 
  • You’ll need to open your website under the web domain that is part of the id value. The app will not work in preview or development modes.

Now you're ready to start using Photolock. 

Did this answer your question?