Hi Sangeetha,
Please find answer to your queries below:
Reg 1. No we can not omit certain api calls from a page, if you istrument any page with js agent, all the internal calls will be monitored. If those api calls are being made in a different page than the main page, then you can skip injecting the JS code in that second page to omit these calls, but not otherwise.
Reg 2. What is the version of js agent that you are using? Ideally the End User Response Time (EURT) in modern browsers, those that support NavTiming, is calculated from the navigationStart to the loadEventEnd . Similarly, for older browsers, those which don't support NavTiming, the End User Response Time (PLT) is calculated from the writing of the starttime cookie on the previous page to the onload event.
So for virtual pages, its more closely calculated as:
var perfData = window.performance.timing; var pageLoadTime = perfData.loadEventEnd - perfData.navigationStart;
Hope this clarifies. Let me know in case that does not help.
Thank You,
Chitra
... View more