Python analytics library that analyzes data on your websites and provides recommendations. Built on Google Analytics API. πππ
pyanalytics is currently in early development stage.
- 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 - Create a service account and download a JSON private key called
service_account.json
in the base level of the Django app - Add your service account email to the Google Analytics view you want to access via the API
- Setup virtual environment and install dependencies from
requirements.txt
- Setup the Django app
Be sure to follow the contribution guidelines when submitting code. Always abide by the code of conduct.