You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several ways to initialize Aplication Insights and currently static loading when importing as module is not covered. We need to provide a supported way and update readme.
Dynamic loading. JS script tag is inserted in the head of the page. This is the recommended approach as our CDN is getting frequent updates.
Static loading. You are responsible for including JS script tag or bundling the script with your other scripts.
Using initialization snippet
Dynamic loading with snippet This is default approach used in a new ASP.NET application created in Visual Studio. Use this for MVC applications.
Host AI JS SDK and initialize statically. Cordova applications where you would like to embed scripts into your application for faster loading is an example of when you would use this approach.
There are several ways to initialize Aplication Insights and currently static loading when importing as module is not covered. We need to provide a supported way and update readme.
snippet
The text was updated successfully, but these errors were encountered: