jacobjzhang / react-google-analytics-dashboard

Custom Google Analytics Dashboard based on Google Analytics Reporting API v4 with OAuth2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom Google Analytics Dashboard

Custom Google Analytics Dashboard based on Google Analytics Reporting API v4 with OAuth2, charts and tables.

users visits users sessions countries sources pageviews browsers and devices

Technologies used

Run the app locally

  1. Clone this repo
  2. Create project in Google Developers Console
  3. Enable Google Analytics Reporting API.
  4. Configure Google OAuth consent screen.
  5. Add your CLIENT_ID into .env file: REACT_APP_CLIENT_ID='YOUR_CLIENT_ID'
  6. Run npm install
  7. Run npm start

This project was bootstrapped with Create React App.

The blog post How to develop a custom Google Analytics Dashboard using Google Analytics Reporting API v4 and React.js (VERSION 2020).

About

Custom Google Analytics Dashboard based on Google Analytics Reporting API v4 with OAuth2.


Languages

Language:JavaScript 94.4%Language:HTML 4.4%Language:CSS 1.1%Language:Shell 0.1%