Google Analytics with R -
i new google analytics api.....i authenticated application in r using code:
library(rgoogleanalytics) client.id <- "**************.apps.googleusercontent.com" client.secret <- "**********************" token <- auth(client.id, client.secret) save(token,file="./token_file") validatetoken(token)
i figuring out need enter in below credentials:
query.list <- init(start.date = "2011-11-28", end.date = "2014-12-04", dimensions = "ga:date,ga:pagepath,ga:hour,ga:medium", metrics = "ga:sessions,ga:pageviews", max.results = 10000, sort = "-ga:date", table.id = "ga:33093633")
where can find dimensions, metrics, sort, table.id
my eventual goal pull text "https://plus.google.com/105253676673287651806/posts"
please assist me in this....
using google analytics , r may not suit want here, google+ website won't included in data collect.
you may want @ using rvest url scraper tool r. information need public url r dataframe analyse later.
Comments
Post a Comment