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).
After you install the script on your site, open your Photolock dashboard, and click "Locks" in the navigation menu.
Find Website settings and add your custom domain.
Your website domain must match the value here. Most websites these days use multiple domains. At a minimum, you have a domain with "www" and also a root domain as shown below.
Photolock only accepts a single domain. Therefore it is important to configure a primary domain for your website and add redirects to the primary domain. In case users visit your site with other domains and there are no redirects to the primary domain, Photolock will not activate.