The Application Insights extensions in Visual Studio and Azure appear to automatically add a javascript snippet to track page views, even if you enable docs by using the Install Application button APPINSIGHTS_JAVASCRIPT_ENABLED = true.
Other docs show how to add the same javascript to my layout that I did. As a result, I now see JavaScript javascript twice, once from my mind, once from AI magic. I would prefer to control this myself - how can I prevent the tool from changing pages for script input? Setting APPINSIGHTS_JAVASCRIPT_ENABLED to false does not work.
I am working in an ASP.NET Core 2.0 web application.
source share