code: function getQueryParam(name) {
    if (!isBrowser()) {
      _logger2.default.error({
        description: 'Browser is required to get query params.',
        func: 'asyncLoadJs', obj: 'dom'
      });
      throw new Error('Query parameters are only available within browsers.');
    }
    name = name.replace(/[\[]/, '\\[').replace(/[\]]/, '\\]');
    var regex = new RegExp('[\\?&]' + name + '=([^&#]*)');
    var results = regex.exec(window.location.search);
    return results === null ? '' : decodeURIComponent(results[1].replace(/\+/g, ' '));
  }
docs: @description Get query param from current location/url
  @param {String} name - Name of query parameter to get