django-prodperfect
Django template tags for the ProdPerfect tracking snippet.
Installation
-
pip install django-prodperfect -
Add to
INSTALLED_APPSin yoursettings.pyprodperfect, -
In your templates, load
prodperfect
Example template
{% load prodperfect %}
<body>
...
{% tracking_snippet %}
</body>
Example settings.py
You can copy these values from the ProdPerfect provided tracking snippet.
PRODPERFECT = {
'HOST': 'prodperfect.datapipe.prodperfect.com/v1',
'WRITE_KEY': '12345',
'PROJECT_ID': '12345',
'TRACKING_LIBRARY_URL': 'https://prodperfect.trackinglibrary.prodperfect.com/keen-tracking.min.js'
}
To override the default tracking behavior, you can change the value of the following properties.
PRODPERFECT = {
# ...
'OPTIONS': {
'ignoreDisabledFormFields': False,
'recordClicks': True,
'recordFormSubmits': True,
'recordInputChanges': True,
'recordPageViews': True,
'recordPageUnloads': True,
'recordScrollState': True
}
}
Bugs and suggestions
If you have found a bug or if you have a request for additional functionality, please use the issue tracker on GitHub.
https://github.com/prodperfect/django-prodperfect/issues
Author
Developed and maintained by prodperfect.
Metadata
Release files for django-prodperfect 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-prodperfect-0.2.0.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_prodperfect-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / django-prodperfect-0.2.0.tar.gz
| Download URL | django-prodperfect-0.2.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9ca2cf7fe7b4127231b110b33db632e3fac616230b95d45999b6ac51aba6a96
|
|
BLAKE2b-256 checksum How to use checksums |
95b5e2a6070cefc89d7dea912abc5e7e31bda869c04bce075e01adb1b1efb46d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.4
|
Release files / django_prodperfect-0.2.0-py3-none-any.whl
| Download URL | django_prodperfect-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0f31fd781544f614c10c5b96785bdb7faaf7c2993f94dbf309d570692373501
|
|
BLAKE2b-256 checksum How to use checksums |
6836442acadf8ba58923c13463f2f3c47000b27141027994bc2a15e3ca7b486a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.4
|