Skip to main content

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/)

Project details


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 details)

Uploaded Source

Built Distribution

wagalytics-0.1-py2.py3-none-any.whl (4.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file wagalytics-0.1.tar.gz.

File metadata

  • Download URL: wagalytics-0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wagalytics-0.1.tar.gz
Algorithm Hash digest
SHA256 eb1f25f6efd1028124e3828da3260f0807580e49fdfc9974b8a686950d45812f
MD5 0e18a5fd2ff80f35bf2270e91660c353
BLAKE2b-256 1953a2cf115ba61f4657865d3aecf36a5eebeafdfdce092e568309146177a04b

See more details on using hashes here.

File details

Details for the file wagalytics-0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for wagalytics-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a0f5167c475fdd0152f82917ea10d3cc9ebea71ca8a16e4eab44fefbc403d715
MD5 8c1afd731c599acf88050e232c33639a
BLAKE2b-256 de4cccd5f54c22e7e011f59861a7df8dcac356ecc30cbc989539d00e5f58e0be

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page