getParamsForQueryString()

in src/config/firefox-desktop.js [93:115]


  getParamsForQueryString(storeValue) {
    // These parameters will map to a ${key}=${value}&... in the querystring,
    // which is used to convey the view state when the GLAM URL is shared with
    // others.
    const params = {
      channel: storeValue.productDimensions.channel,
      os: storeValue.productDimensions.os,
      aggregationLevel: storeValue.productDimensions.aggregationLevel,
      process: storeValue.productDimensions.process,
      timeHorizon: storeValue.timeHorizon,
      proportionMetricType: storeValue.proportionMetricType,
      activeBuckets: storeValue.activeBuckets,
      visiblePercentiles: storeValue.visiblePercentiles,
      ref: storeValue.ref,
      hov: storeValue.hov,
      currentPage: storeValue.currentPage,
      normalizationType: storeValue.productDimensions.normalizationType,
    };
    return stripDefaultValues(params, {
      ...sharedDefaults,
      ...this.dimensions,
    });
  },