ga-reporter

1.0.3 • Public • Published

ga-reporter

📢 Report number of PVs per week

Install

  1. Run npm install
$ npm install --global ga-reporter
  1. Enable Reporting API v4
    Enable Reporting API v4 and save the authentication information as client_secrets.json.
    For more information.

  2. Add service account to the Google Analytics account
    You can use the mail address of item client_email of the client_secrets.json. Use this email address to add a user to the Google analytics view.
    For more information.

  3. Setup
    Run ga-reporter and Enter the absolute path of client_secrets.json and 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: 123456

Usage

$ node index.js --help 

  Usage
      $ ga-reporter <input>

  Options
      --delete, -d Delete settings

Licence

MIT

Author

kanoe

Readme

Keywords

none

Package Sidebar

Install

npm i ga-reporter

Weekly Downloads

3

Version

1.0.3

License

ISC

Unpacked Size

38.5 kB

Total Files

7

Last publish

Collaborators

  • kanoe