ksun0 / pyanalytics

Python analytics library that analyzes data on your websites and provides recommendations. Built on Google Analytics API. πŸ“ˆπŸ“‰πŸš€

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyanalytics

Python analytics library that analyzes data on your websites and provides recommendations. Built on Google Analytics API. πŸ“ˆπŸ“‰πŸš€

pyanalytics is currently in early development stage.

Getting Started

Installation

  1. Enable the Google Analytics API using the setup tool, which guides you through creating a project in the Google API Console, enabling the API, and creating credentials. Download client_secrets.json in the base level of the Django app
  2. Create a service account and download a JSON private key called service_account.json in the base level of the Django app
  3. Add your service account email to the Google Analytics view you want to access via the API
  4. Setup virtual environment and install dependencies from requirements.txt
  5. Setup the Django app

Quick Demos

Viewing the report dashboard

Receiving spike emails in website sessions


Be sure to follow the contribution guidelines when submitting code. Always abide by the code of conduct.

About

Python analytics library that analyzes data on your websites and provides recommendations. Built on Google Analytics API. πŸ“ˆπŸ“‰πŸš€

License:MIT License


Languages

Language:Python 70.4%Language:HTML 26.7%Language:CSS 2.9%