Generating the JavaScript snippet and inserting it in your application
To generate the JavaScript snippet for your application
- From the Settings menu, select End User Experience.
- Click + Add Application.
- Enter the name of the application that you want to monitor (for example, AcmeBookStore) and click Add.
The application name can be up to 100 characters long. - The application details screen is displayed.
Click Copy to Clipboard from the Code Snippet tab to view and copy the snippet for this application.
To insert the JavaScript in your application
- From the Settings menu, select End User Experience.
Select an application from the list, and select the Code Snippet tab
The snippet includes an automatically generated unique token, which is used to identify the account.Click Copy to Clipboard and paste the JavaScript snippet in the <head> element of your web application.
Go to your application's HTML page, and paste the snippet in the <head> element:
- If the <head> element contains a <meta> element, insert the snippet after the <meta> element.
- If the <head> element contains a <script> element, insert the snippet before the first <script> element.
- If the <head> element does not contain a <script> element, insert the snippet at the end of the <head> element, before the closing </head> tag.
- Save the page.
- Verify that the snippet appears in your application's web pages.
Where to go from here
After you add the snippet to your application, configure application source rules and configure data collection for custom fields. Thereafter, use the system default view for analyzing end-user experience with your configured applications.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*