ga-reporter
v1.0.3
Published
:loudspeaker: Report number of PVs per week
Downloads
6
Readme
ga-reporter
:loudspeaker: Report number of PVs per week
Install
- Run
npm install
$ npm install --global ga-reporterEnable Reporting API v4
Enable Reporting API v4 and save the authentication information asclient_secrets.json.
For more information.Add service account to the Google Analytics account
You can use the mail address of itemclient_emailof theclient_secrets.json. Use this email address to add a user to the Google analytics view.
For more information.Setup
Runga-reporterand Enter the absolute path ofclient_secrets.jsonand a View ID.
You can use the Account Explorer to find a View ID.
$ ga-reporter
? Enter your client_secrets.json's path: /home/username/client_secrets.json
? Enter your a viewID: 123456Usage
$ node index.js --help
Usage
$ ga-reporter <input>
Options
--delete, -d Delete settings