title: How to send 'Application Version' with client side application insights using javascript?
body: <p>We can send 'application version' property with every insight in c# like in this tutorial by adding a initializer.</p>
  
  <pre><code>    class AppVersionTelemetryInitializer : Microsoft.ApplicationInsights.Extensibility.ITelemetryInitializer
  {
      public void Initialize(Microsoft.ApplicationInsights.Channel.ITelemetry telemetry)
      {
          telemetry.Context.Component.Version = ApplicationInsightsHelper.ApplicationVersion;
      }
  }
  </code></pre>
  
  <p><a href="https://blogs.msdn.microsoft.com/visualstudioalm/2015/01/07/application-insights-support-for-multiple-environments-stamps-and-app-versions/" rel="noreferrer">https://blogs.msdn.microsoft.com/visualstudioalm/2015/01/07/application-insights-support-for-multiple-environments-stamps-and-app-versions/</a></p>
  
  <p><strong>How can I do this with javascript?</strong></p>