3

I wanna collect all userId and clientId from GA.

I can see userId in dashoboard:

Custom options

but I can't find how get same info from APi for All user. How I can do that with Reporting API?

Linda Lawton - DaImTo
  • 106,405
  • 32
  • 180
  • 449
GicO
  • 63
  • 4

1 Answers1

2

UserId and ClientID are custom dimensions. So use ga:dimensionXX and replace XX with indexes of your custom dimensions.

https://ga-dev-tools.appspot.com/dimensions-metrics-explorer/

zborovskaya
  • 1,113
  • 1
  • 7
  • 14