message: New parameter in webview for opt-out analytics
  Change-type: patch
  Changelog-entry: New parameter in webview for opt-out analytics
diff: @@ -51,6 +51,14 @@ const ETCHER_VERSION_PARAM = 'etcher-version'
  */
  const API_VERSION_PARAM = 'api-version'
  +/**
  + * @summary Opt-out analytics search-parameter key
  + * @constant
  + * @private
  + * @type {String}
  + */
  +const OPT_OUT_ANALYTICS_PARAM = 'optOutAnalytics'
  +
  /**
  * @summary Webview API version
  * @constant
  @@ -91,6 +99,7 @@ class SafeWebview extends react.PureComponent {
  // We set the version GET parameters here.
  url.searchParams.set(ETCHER_VERSION_PARAM, packageJSON.version)
  url.searchParams.set(API_VERSION_PARAM, API_VERSION)
  + url.searchParams.set(OPT_OUT_ANALYTICS_PARAM, !settings.get('errorReporting'))
  this.entryHref = url.href
  