Shared publicly  - 
 
r-google-analytics: access GA data right from within R!

query$Init(start.date = "2012-06-18",
           end.date = "2012-12-18",
           dimensions = "ga:date,ga:pagePath",
           metrics = "ga:visits,ga:pageviews,ga:timeOnPage",
           ...
)

And you're off to the races... Awesome stuff.
101
41
Marius Rugan's profile photoJesus M. Castagnetto's profile photoAnastasiia Kornilova's profile photoCheryan M.T's profile photo
5 comments
Eric Wu
+
2
3
2
 
Nice. Just remember that GA API starts sampling if you make a request with over 500k visits or 1 MM unique dimensions. Depending on the behavior of your site traffic sampling could throw off your expected calculations dramatically.
 
this looks cool, how can i used it (non programmer)
Add a comment...