@Gowtham Lcs Kindly note that when you enable application insights using JavaScript SDK , by default, it automatically enables the telemetry items shown in below snapshot. And you can always use TelemetryInitializer to restrict the data.
How to stop data that are sent automatically in application insights via JavaScript SDK?
Even though I send only a single event for Application Insights, some data are sent additionally from browser as seen from the Browser Network log. They are,
- RemoteDependencyData
- PageViewData
- PageviewPerformanceData
The above data are additionally and automatically sent even though I send only a single custom event. Also I don't track any page view. I just send only a single custom event and there are multiple data sent that contains the name as mentioned above in the list.
Can anyone please help me how to restrict sending the above additional data?
With the help of "disableAjaxTracking", I could prevent "RemoteDependencyData"from being sent. But still, I am not sure how to restrict sending PageViewData and PageviewPerformanceData .
I use trackEvent() to send the single event and I use JavaScript SDK for application insights.