I have some applications and a website that trigger Google Analytics events. I would like to export google analytics events to my datawarehouse in order to have better insights and analytics.
For this question, you can use the language you want (python, ruby, java, etc.).
I'm not an expert in Google Analytics, I don't know if it's feasible, but can I get a log of all events that were triggered ? It would look like that :
event_id | user_id | date | foo
----------------------------------------------------
210 | 1245076 | 07-08-2015 | bla
211 | 124 | 07-08-2015 | bla2
214 | 1245081 | 07-08-2015 | bla3
215 | 48789 | 07-09-2015 | last line
If not, could I at least get it by session ? Like this :
session_id | user_id | date | foo
----------------------------------------------------
210 | 1245076 | 07-08-2015 | bla
211 | 124 | 07-08-2015 | bla2
214 | 1245081 | 07-08-2015 | bla3
215 | 48789 | 07-09-2015 | last line
If it is not possible, what are the closest things to a log of event I can get ? (I know "close to" is vague ...) I mean, google analytics tends to aggregate things, and I would prefer not to have aggregates ...
That's the first part, then the second part is from the result of a query insert it into the datawarehouse, but it is not the problematic part.
Note (EDIT) : in this question, the "quota" aspect (Google Analytics API limits the number of daily requests) can be ommited in a first time. By that I mean, is it possible to get data in the format I want, if yes then we can ask ourselves how to do that efficiently given the limitations
Thanks in advance !