Accessing Google Analytics Data


#1

I know there are probably quite a few way to do this, but I was wondering how others have setup access to Google Analytics data. I’m thinking there are a handful of ways to do this, so I’m just looking for feedback at this point one which path to choose for now.


#2

It is really hard to make an UI like this tool: https://ga-dev-tools.appspot.com/query-explorer/

So I made url query parser which gets link params from query generated on page above. I can make a pull request if this tool is needed.


#3

I would’t say it’s “needed” yet, but it would be interesting to use this in the future.


#4

I would love to see the script first. Mind sharing it as a GitHub gist or some other way?


#5

I think most people just use some service to move data from Google Analytics to their database of choice.


#6

It’s initial version which works for simple requests. I want to add support for several requests in one query later.

https://gist.github.com/vladislive/918760b04d1475950c96111bc9defa8c


#7

For anyone who stumbles at this thread – @Vladis contributed a proper query runner for Google Analytics and it’s now part of the next release (1.0).


#8

That’s awesome! Thanks for the update!