hta218 / ga-fetcher

Fetch Google Analytics data with Google APIs in Node.js ๐Ÿš 

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐Ÿš  Fetch Google Analytics data with Google APIs in Node.js

Installation

Create Google App

  1. Add new Project from Google Console
  2. Create Credentials for your app (Select Oauth Client ID => Web application => Create)
  3. Config URIs & Authorized redirect URIs in Consent Screen
  4. Enable Google Analytics API (Go to Library => search Analytics API => Enable)

Set up Nodejs Server

  1. git clone https://github.com/hta218/nodejs-google-api-starter.git

  2. Config .env file (Using .env.example)

  3. yarn && yarn start

  4. Sign in, get your view and fetch data

  5. Learn how to create your request with Google Analytics Reporting API v4

License

MIT License

About

Fetch Google Analytics data with Google APIs in Node.js ๐Ÿš 


Languages

Language:JavaScript 98.0%Language:Shell 2.0%