Show Google Analytics data in Wagtail.
Project description
# Wagtail Analytics
This module provides a simple dashboard of Google Analytics data, integrated into the Wagtail admin UI.
![Screenshot](screenshot.png)
## Instructions
1. [Create a service account](https://ga-dev-tools.appspot.com/embed-api/server-side-authorization) and download the JSON key
1. Add the service account as a read-only user in Google Analytics
1. [Find the ID](https://lucidpress.zendesk.com/hc/en-us/articles/207335356) for your Google Analytics property
1. Store your JSON key somewhere safe
1. `pip install wagalytics`
1. Add 'wagalytics' to your INSTALLED_APPS.
1. Add 'wagtailfontawesome' to INSTALLED_APPS if it's not there already.
1. Update your settings:
- `GA_KEY_FILEPATH = '/path/to/secure/directory/your-key.json'`
- `GA_VIEW_ID = 'ga:xxxxxxxx'`
### TODO
- [ ] allow configuration of results
- [ ] better styling, e.g. using [chart.js](https://ga-dev-tools.appspot.com/embed-api/third-party-visualizations/)
This module provides a simple dashboard of Google Analytics data, integrated into the Wagtail admin UI.
![Screenshot](screenshot.png)
## Instructions
1. [Create a service account](https://ga-dev-tools.appspot.com/embed-api/server-side-authorization) and download the JSON key
1. Add the service account as a read-only user in Google Analytics
1. [Find the ID](https://lucidpress.zendesk.com/hc/en-us/articles/207335356) for your Google Analytics property
1. Store your JSON key somewhere safe
1. `pip install wagalytics`
1. Add 'wagalytics' to your INSTALLED_APPS.
1. Add 'wagtailfontawesome' to INSTALLED_APPS if it's not there already.
1. Update your settings:
- `GA_KEY_FILEPATH = '/path/to/secure/directory/your-key.json'`
- `GA_VIEW_ID = 'ga:xxxxxxxx'`
### TODO
- [ ] allow configuration of results
- [ ] better styling, e.g. using [chart.js](https://ga-dev-tools.appspot.com/embed-api/third-party-visualizations/)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wagalytics-0.1.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for wagalytics-0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0f5167c475fdd0152f82917ea10d3cc9ebea71ca8a16e4eab44fefbc403d715 |
|
MD5 | 8c1afd731c599acf88050e232c33639a |
|
BLAKE2b-256 | de4cccd5f54c22e7e011f59861a7df8dcac356ecc30cbc989539d00e5f58e0be |