Guides > Wix Installation

Wix Installation

This guide outlines how to Cybarmor on a website hosted at Wix.

Installing Cybarmor on your website only takes a few minutes. After you install it, you will be able to control and limit the actions that your website's visitors can take on your site.

Installation:


  1.  Open Wix dashboard and click Settings  in the left sidebar and select  Custom Code

    Adding Custom Code to Wix


  2. Click + Add Custom Code at the top right.

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

    Replace the domain value with your custom domain in the above code.

  4. Enter a name for your code Cybarmor

  5. Select an option under Add Code to Pages:
    • All pages: This adds the code to all of your site's pages, including any new pages that you'll create in the future. Choose whether to load the code only once per visit or on each page your visitor opens.
    • Choose specific pages: Use the drop-down menu to select the relevant pages.

      You can choose pages where you want Cybarmor to cover.

  6. Choose where to place your code. You will be given three options:
    • Head
    • Body - start
    • Body - end

      Select Head for Cybarmor to activate immediately. Select Body-End to prioritize loading of other content over Cybarmor.

  7. Click Apply.


Configure Domain:


To use Cybarmor, you will need to configure a domain for your website.

  1. Open Wix site editor and click Settings  at the top menu and select  Connect Domain

    Connecting a Domain to Wix


  2.  Complete the wizard and follow steps. 

    3. Add your domain to Cybarmor dashboard. To test Cybarmor settings, you can also use the temporary domain provided by Wix. Please keep in mind, after you publish your website under a custom domain, you will need to update your domain settings in Cybarmor dashboard.

    Adding Domain to Cybarmor

Last Updated: September 1, 2021