A form mixin that reports form errors as events to Google Analytics
Project description
A form mixin that reports form errors as events to Google Analytics.
Installation
pip install git+https://github.com/ministryofjustice/django-form-error-reporting.git
Usage
See examples in tests/forms.py
class ReportedForm(GoogleAnalyticsErrorReportingMixin, Form):
ga_tracking_id = 'UA-12345678-0'
...
Testing
python setup.py test
Copyright
Copyright © 2016 HM Government (Ministry of Justice Digital Services). See LICENSE for further details.
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
Close
Hashes for django-form-error-reporting-0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ec2a7987fc2b0d3101b97b7839c9127886b049d3591341a5be8e25b40983f40 |
|
MD5 | 703d91d0a66cf018e05335d719919721 |
|
BLAKE2b-256 | 263608db75903d3fe744fd69a43d8af85fc556b3e1ca5f7dc2e26cd336bf0acb |