Instrumenting Using the JavaScript Code Snippet

As already mentioned, where web pages are not dynamically generated by the target web site / web application, you can directly copy the JavaScript code snippet that eG provides (in Figure 53) to every web page you want monitored.

For that, do the following:

  1. Open the html/jsp/aspx web page to be monitored in an Editor.

  2. Insert the copied code snippet in the head tag of the web page, as depicted by Figure 53 below.

    Inserting Code Snippet in Web Page

    Figure 53 : Inserting the code snippet in a web page

  3. Finally, save the edited web page.