We can send 'application version' property with every insight in c# like in this tutorial by adding a initializer.
class AppVersionTelemetryInitializer : Microsoft.ApplicationInsights.Extensibility.ITelemetryInitializer
{
public void Initialize(Microsoft.ApplicationInsights.Channel.ITelemetry telemetry)
{
telemetry.Context.Component.Version = ApplicationInsightsHelper.ApplicationVersion;
}
}
How can I do this with javascript?