Skip to main content

django-prodperfect

Django template tags for the ProdPerfect tracking snippet.

Installation

  1. pip install django-prodperfect

  2. Add to INSTALLED_APPS in your settings.py

    prodperfect,

  3. 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)

Source distribution for django-prodperfect 0.2.0
File Size Uploaded
django-prodperfect-0.2.0.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-prodperfect 0.2.0
File Interpreter ABI Platform
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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page