iNtuitive
iNtuitive

Reputation: 11

Are multiple queries possible with analytics API?

I want to retrieve many different informations from analytics for my application. My question is can I use something like

dimension1 (some metrics) dimension2 (some other metrics).

I know, that I can make different requests, but I would like to put it all in one!

Upvotes: 0

Views: 100

Answers (2)

dikesh
dikesh

Reputation: 3125

Yes you can do this using Analytics Reporting API V4

Have a look at reportRequests parameter in which you can pass maximum of 5 objects, where each object can have its own combination of dimension and metrics.

Upvotes: 1

Ryan Praskievicz
Ryan Praskievicz

Reputation: 354

Make sample queries using the GA API Query Explorer here: https://ga-dev-tools.appspot.com/query-explorer/

See valid metric and dimension combinations here https://developers.google.com/analytics/devguides/reporting/core/dimsmets

Upvotes: 0

Related Questions