Zephr User Guide

Example Implementation

8 views 0

The example implementation covers the following:

We refer to the following HTML page in the example:

Note: You might need to change the version used in the example page to match the latest version number.

<HTML>
    <head>
        <script src="https://assets.zephr.com/zephr-browser/1.3.11/zephr-browser.umd.js"></script>
        <script>
          let baseUrl = 'https://v4-demo-chris-my-site.cdn.demo.zephr.com';
          document.addEventListener('DOMContentLoaded', (event) => {
             zephrBrowser.run(baseUrl);
          });
       </script>
    </head>
    <body>
       <h1>Zephr JS test</h1>
       <div class="private">
          Don't look here!
       </div>
    </body>
</html>