Open anyatran opened 9 years ago
I'd like to know this too! Since things changed I'm unsure how to grab my own analytics data now.
Check examples https://ga-dev-tools.appspot.com/embed-api/ it might be helpful for you
Hi @anyatran, sorry for the very late reply, have you figured out a solution? A 401 error means that you are not authorized to access the resource. I would assume that you do have to authenticate to access your Google Analytics.
I wanted to get data from my google analytics without OAuth and im getting 401 error. Currently i'm passing only API Key (I can't find Simple API Key since the design has changed). Here's my code:
I also tried to create a Service account but I'm not sure how can I use it here