I have a single page application written with JavaScript. I am currently logging events to Azure Application Insights using the JavaScript API. I notice that Application Insights is automatically writing all page views to Application Insights. However, I'm only interested in writing custom events to Application Insights.
Is there a way to disable logging page views? In other words, can I log only custom events, custom metrics, and exceptions with Application Insights?
I don't see anything in the API documentation. Thank you.