Rodrigo Asai
Rodrigo Asai
  • Updated

To install the widget code on an HTML/CSS site, follow the steps below:

  1. Open the index.html of your website using your favorite editor.
  2. Search for the open tag <head>.
  3. Copy your JS code and place the embed code below as the first entry in your site's <head> tag

        <!-- Below is the UserWay widget code -->
        <script src="" data-account="examplecode"></script>
        <!-- End of the UserWay code -->
        <meta charset="UTF-8">
        <title>Example Page</title>
        <h1>Welcome to Example Page</h1>
        <p>This is a sample HTML page.</p>

If the page is in HTML/CSS only (a non-dynamic page), the JS code must be implemented separately in all the individual pages of the website. For example: about.htmlor contact.html.