Google Analytics API access with a service account
问题 Can I access Google Analytics data using a service account in a client-side application? If not, are there other ways of achieving the same outcome? Must be entirely client-side, and must not require users to authenticate (hence the desire to use a service account). 回答1: Yes you can in https://code.google.com/apis/console make sure you say that its a Service account it will give you a key file to download. With that you dont need a user to click ok to give you access. For a service acccount