Add Azure Application Insights tracking to a Shiny App. Requires an active Azure subscription and Application Insights instrumentation key! Based on https://docs.microsoft.com/en-us/azure/azure-monitor/app/javascript and https://github.com/microsoft/ApplicationInsights-JS.
Supports so far only
pageViews (automatically sent),
autoTrackPageVisitTime (when configured),
and
customEvents.
customMetrics will still not go through.
New Azure regions do not support instrumentation keys. Instead, a connection string must be supplied (which includes the instrumentation key).