Documentation

    Website Installation

    Javascript Installation

    The most common installation method involves adding the Javascript snippet to your website.

    You'll find your Upscope installation code within your Upscope dashboard.

    Copy and paste the code within the <body> tag of your html file, ensuring it's on every page you'd like to co-browse on.

    If you would prefer to add it to a JavaScript file, remove the <script> and </script> tags from the code.

    Recommendation

    Make sure that the code loads as fast as possible by adding it as one of the first things that execute on the page.

    Warning

    While you can install Upscope through Google Tag Manager or Segment, the preferred method is to paste the installation code directly on your website, as this will result in faster load times.

    Installation remains the same whatever front end framework you use. Upscope works fine with React, Angular, and most other modern Javascript frameworks. All you need to do is add the code to the page.

    Other Installation Methods

    Install the Upscope SDK:

    npm install --save @upscopeio/sdk

    Import the Upscope Object:

    import Upscope from '@upscopeio/sdk';

    Initialize Upscope:

    Upscope("init", {
      apiKey: "YOUR_API_KEY"
    });

    Note

    You can use the Upscope object wherever required, and call the same functions that are available with the regular installation. Initialization (init) needs to be called first and must include your API key.

    Verifying Correct Installation

    To verify if the code is installed correctly, visit userview.com and check for a list of current users on pages where you placed the JavaScript code.

    Testing Tip

    Open a separate incognito window to test the installation.

    Once the screen sharing session begins, you can scroll, click, highlight, and spotlight using the tools on the bottom right of the UserView viewing window.