> For the complete documentation index, see [llms.txt](https://docs.roivenue.com/roivenue-resources/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roivenue.com/roivenue-resources/roivenue-training/roivenue-app/data/connectors-overview/list-of-connectors/google-analytics-4/google-analytics-4-parameters.md).

# Google Analytics 4 - Parameters

The query parameters available to a Google Analytics 4 connector.

These are the parameters a Google Analytics 4 connector's query accepts. The recommended template sets the ones it needs; the rest are only reachable by editing the connector in the Advanced Editor.

Most accounts never touch these. The page exists so that when a connector does need adjusting, what is adjustable is written down.

## Parameters

| Parameter            | Type          | Default | What it does                                                                                                                                |
| -------------------- | ------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `Dimensions`         | list of text  |         | List of dimensions to retrieve                                                                                                              |
| `Metrics`            | list of text  |         | List of metrics to retrieve                                                                                                                 |
| `DimensionFilter`    | JObject       |         | Dimension filter (optional)                                                                                                                 |
| `MetricFilter`       | JObject       |         | Metric filter (optional)                                                                                                                    |
| `CurrencyCode`       | text          |         | Currency code (optional), if not specified, the property currency is used                                                                   |
| `KeepEmptyRows`      | true or false |         | Specifies if empty rows are kept in results (optional), empty rows are removed by default                                                   |
| `OrderBys`           | JArray        |         | Ordering of report results (optional)                                                                                                       |
| `MetricAggregations` | JArray        |         | Aggregation of metrics. Aggregated metric values will be shown in rows where the dimensionValues are set to "RESERVED\_(MetricAggregation)" |
| `CohortSpec`         | JObject       |         | Cohort group associated with this request. If there is a cohort group in the request the 'cohort' dimension must be present                 |

{% hint style="danger" %}
A connector edited in the Advanced Editor stops receiving template updates. Roivenue ships improvements by updating the shared template a connector is built from, and only connectors still configured by that template pick those updates up. Once a connector is switched to advanced mode, its query and transformations belong to you.
{% endhint %}
