Django template tags for ProdPerfect tracking snippet
Project description
django-prodperfect
Django template tags for the ProdPerfect tracking snippet.
Installation
-
pip install django-prodperfect
-
Add to
INSTALLED_APPS
in yoursettings.py
prodperfect,
-
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.
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
Built Distribution
Close
Hashes for django-prodperfect-0.1.0.dev0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 014ec37349af2570c1faa17da4fb50c8e94878c89ab07ac43a6d6d2cefed1ca0 |
|
MD5 | da5c78f49a1ebfb4bb8a8f0a18fdc87c |
|
BLAKE2b-256 | 53bf68cfec447eb5a976f5d5f5591a89357c6d70a45dbcd81be63b95d966da12 |
Close
Hashes for django_prodperfect-0.1.0.dev0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26e894ec64dc524594c30c488546f07ce885630b88b4f17876216e34b37b905a |
|
MD5 | a8c5d76e49b6a5f1e13b0dd47c3c88eb |
|
BLAKE2b-256 | 25ff51114196707d02d9761cb93ffc19045685bf261a7b7989fa39f6a59da8a4 |