-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
I have cruised the documentation, but I still feel like I haven't get the full picture of the use cases and ways to integrate the plugin besides the default initialization.
Specifically, I'm interested in recommendations and common use cases for any additional methods calls beyond the default initialization.
- For example, is it sufficient to enable enableAutoRouteTracking, or should withAITracking still be implemented for each high level page?
- what events are send when enableAutoRouteTracking is enabled compared to when withAITracking is enabled?
- What autoTrackPageVisitTime offers in comparison to withAITracking and which of the two is preferable?
- Can you list a common usecases when it would be interesting to call other methods explicitly provided by the library (also avoiding sending telemetry that already collected by enableAutoRouteTracking, autoTrackPageVisitTime and withAITracking :
appInsights.trackEvent({name: 'some event'});
appInsights.trackPageView({name: 'some page'});
appInsights.trackPageViewPerformance({name : 'some page', url: 'some url'});
appInsights.trackException({exception: new Error('some error')});
appInsights.trackTrace({message: 'some trace'});
appInsights.trackMetric({name: 'some metric', average: 42});
appInsights.trackDependencyData({absoluteUrl: 'some url', responseCode: 200, method: 'GET', id: 'some id'});
appInsights.startTrackPage("pageName");
appInsights.stopTrackPage("pageName", null, {customProp1: "some value"});
appInsights.startTrackEvent("event");
appInsights.stopTrackEvent("event", null, {customProp1: "some value"});
Thank you in advance!
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation