Monitor AJAX calls in traditional web apps

How do I monitor Ajax calls in my traditional web applications

In general, Ajax calls are monitored by default for Single Page Applications (SPA) in Real User Monitoring (RUM).  

To monitor Ajax calls in traditional web applications(though you have inserted the RUM script in the header/footer), kindly follow the instructions given below to replace the existing code

  • Log into your Site24x7 account > RUM > Your application
  • Click on 'Copy Web script' and copy the RUM key - this is your appkey
  • Assign the appkey to the variable rumMOkey in the following script
  1.  <script type="text/javascript">var rumMOKey='<appkey>';var site24x7rumProp =       {};site24x7rumProp.sendAjaxCalls=true;site24x7rumProp.includeCrossDomainAjaxCalls=true;  (function(){if(window.performance && window.performance.timing && window.performance.navigation) {var site24x7_rum_beacon=document.createElement('script');site24x7_rum_beacon.async=true;site24x7_rum_beacon.setAttribute('src','//static.site24x7rum.com/beacon/site24x7rum-min.js?appKey='+rumMOKey);document.getElementsByTagName('head')[0].appendChild(site24x7_rum_beacon);}})(window)</script>
  • Copy and paste the script in all the HTML pages of your web application, where you want to track the AJAX calls. By adding so, you can track your web page performance along with the AJAX calls involved. 
  • Metrics can be tracked under AJAX calls tab.
Note: These AJAX calls will be considered as pageviews.  


    • Related Articles

    • Site24x7 Real User Monitoring (RUM) - Data Collection

      When you include Site24x7 RUM beacon script in your web pages, the following data is collected. All data that's being collected is in accordance with GDPR compliance.  Performance details of web page load time - Metrics like response time of web page ...
    • Site24x7 Real User Monitoring - Data collection

      When you include Site24x7 RUM beacon script in your webpages, the  following data are collected . All data that's being collected is in accordance with  GDPR compliance .   Performance details of webpage load time - Metrics like response time of ...
    • Amendments to Site24x7 Monitor Names

      We've recently renamed a few of our Monitors to help keep in sync with the current IT and DevOps trends. The new monitor names are designed to correctly resonate with the IT & DevOps crowd. We've made necessary changes in the Web client, Help ...
    • Difference between mobile RUM and mobile APM

      The following table lists down the basic difference between Mobile APM and RUM. Feature Explanation Pricing Mobile APM Used to monitor native apps. Not included in any pack. Can only be purchased as an add-on. Marked in red in the below screenshot. ...
    • What are the major differences between Monitor Groups and Tags

      Monitor Groups   A Monitor Group helps in logically grouping resources, and provides a business perspective of the resources. It can be used for: Filtering monitors in the Home tab - Monitor Status Page. Filtering monitors in Configuration Rules and ...