Installing the request module to your Wix site
Tjeu Hendrickx avatar
Written by Tjeu Hendrickx
Updated over a week ago

Important:

Make sure your website is published and linked to a domain before you start.

Add custom code to your website

  1. Go to Settings in your website's dashboard.

  2. Click on the custom code tab in the advanced section.

  3. Click + add custom code in the top right

  4. Paste the code snippet in the text box.

  5. Enter a code name. Tip: Give your code a name that is easy to recognize so you can quickly locate it later.

  6. Select an option under add code to pages:

    • All pages: This will add the code to all pages on your website, including any new pages you create in the future. Choose whether you want to load the code only once per visit, or on every page your visitor opens.

    • Choose specific pages: Use the drop-down menu to select the relevant pages.

  7. Choose where to place the code under Place code in:

    • Main

    • Main text - start

    • Main text - end

  8. Click apply

Notes:

  • Your code snippets are linked to a specific domain. If you assign another domain to your website, your code snippets will be removed. You do not need to add code snippets to your secondary domain; all traffic will be redirected to your primary domain.

  • To ensure your website complies with privacy laws such as the GDPR, we recommend categorizing your custom code.

Did this answer your question?