Udostępnij za pośrednictwem


Application Insights JavaScript SDK extension for jQuery Mobile

We have a fair number of customers asking about Single Page Application support in Application Insights JavaScript SDK. However since there are so many popular SPA JavaScript frameworks (jQueryMobile, Angular, ReactJS to just name the most popular few), and all of them implement custom routing logic, it is difficult to find a common ground. So out of the box views are only logged with physical page loads and main telemetry "buckets" (or "operations" in Application Insights speak) are associated with physical pages. However for any given framework it is very easy to add custom support to ensure that virtual pages or routes are treated and pages and telemetry logged within their context is associated correctly. This is my attempt at that with

Application Insights JavaScript SDK extension for jQuery Mobile. extension