columnName() {
    const aggregation = this.aggregation();
    if (aggregation) {
      return aggregation.columnName();
    } else if (typeof this.id === "string") {
      // special case for Google Analytics metrics
      return this.id;
    } else {
      return null;
    }
  }
/** Column name when this metric is used in a query */
Column name when this metric is used in a query
Column name when this metric is used in a query
columnName() {
    const aggregation = this.aggregation();
    if (aggregation) {
      return aggregation.columnName();
    } else if (typeof this.id === "string") {
      return this.id;
    } else {
      return null;
    }
  }
columnName ( ) { const aggregation = this . aggregation ( ) ; if ( aggregation ) { return aggregation . columnName ( ) ; } else if ( typeof this . id === "string" ) { return this . id ; } else { return null ; } }
Column name when this metric is used in a query
Column name when this metric is used in a query
// special case for Google Analytics metrics