javascript - Authenticating to the Google Analytics Core Reporting API for One Account -


i want display number of times video has been viewed using core reporting api via javascript. however, api designed oauth, building applications , not logging account event count.

is there way login account via javascript?

thanks, matthew.

i think looking service account. knowledge cant use service account javascript due security issues key file.

what try , authenticate script once using normal oauth2 save refresh token file , hard code script , send that. wouldn't recommend checks script able access it. have same security issues had using service account.

as can see doing trying javascript isn't going work. can see have tried unsuccessfully in past do. recommend try , kind of server sided scripting language, php.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -