james 98
06/03/2024, 1:02 PMkapa.ai
06/03/2024, 1:03 PMjson [ { "name": "<report-name>", "dimensions": ["<dimension-name>", ...], "metrics": ["<metric-name>", ...] } ]
#### Example of a Single Custom Report: json [ { "name": "page_views_and_users", "dimensions": [ "ga:date", "ga:pagePath", "ga:sessionDefaultChannelGrouping" ], "metrics": ["ga:screenPageViews", "ga:totalUsers"] } ]
#### Example of Multiple Custom Reports: json [ { "name": "page_views_and_users", "dimensions": ["ga:date", "ga:pagePath"], "metrics": ["ga:screenPageViews", "ga:totalUsers"] }, { "name": "sessions_by_region", "dimensions": ["ga:date", "ga:region"], "metrics": ["ga:totalUsers", "ga:sessions"] } ]
### Custom Reports with Segments and Filters When using segments, make sure you also add the ga:segment
dimension. Example: json [ { "name": "page_views_and_users", "dimensions": ["ga:date", "ga:pagePath", "ga:segment"], "metrics": ["ga:sessions", "ga:totalUsers"], "segments": ["ga:sessionSource!=(direct)"], "filter": ["ga:sessionSource!=(direct);ga:sessionSource!=(not set)"] } ]
### Additional Information - Each report can contain no more than 7 unique dimensions. - A custom report can contain no more than 10 unique metrics. - Incremental sync is supported only if you add the ga:date
dimension to your custom report. For more detailed information, you can refer to the [Setup Guide](https://docs.airbyte.com