Google Analytics API Data API Updates: comparisons

508 views
Skip to first unread message

Ilya Kuleshov

unread,
May 15, 2024, 1:23:45 PMMay 15
to google-analyt...@googlegroups.com, daring-d...@googlegroups.com
On behalf of the Google Analytics team I would like to announce the following updates to the Google Analytics Data API:

  • Added Comparisons feature

Using Comparisons, you can evaluate subsets of your data side by side.

Core reporting methods of the Data API v1beta are updated to support the comparisons field which, when included, specifies the configuration of comparisons requested.

In a request, you can specify either a basic comparison, by providing the dimensionFilter expression with a request, or use a saved comparison by providing the comparison's resource name in the comparison field.

The getMetadata method is updated to list all saved comparisons available for a property under the comparisons response field.

When at least one comparison is specified in a request, the response will contain the comparison column identifying each comparison.

Currently, saved comparisons can only be created using the Google Analytics UI.

Feedback

As part of the testing process, we kindly ask you to answer a quick Google Analytics 4 APIs Survey and provide any feedback you have regarding the testing experience.

Reply all
Reply to author
Forward
0 new messages