wagtail-mautic
Adds Mautic Marketing Automation into a Wagtail site with a few simple template tags
Installation
Install using pip
pip install wagtail-mautic
Now add the application wagtail_mautic to your Django applications. In your base.py settings file:
INSTALLED_APPS = [
...
"wagtail.contrib.settings",
"wagtail_mautic",
...
]
Add the site settings to your context processors:
'OPTIONS': {
'context_processors': [
...
'wagtail.contrib.settings.context_processors.settings',
]
}
Migrate your models:
python manage.py migrate
Add your Mautic setup information
When you spin up your Wagtail app, you should now see a new Mautic settings in the Wagtail admin screen.
Add in the URL for your Mautic instance (including the https://) to the Mautic Url field.
Add Mautic page tracking
The template tag {% mautic_tracker %} can be added to any page and this will add in the Mautic tracking code. The tag will only add text when the Mautic URL has been added in the settings.
To install site-wide add this to your base.html template or similar.
Recommended placement is to add the tracking code as the last item in the <body> ... </body> tag section.
Add Mautic prefetch tags
For faster loading of pages, the Mautic site can be set up with a pre-fetch <link> in the header. To add this to your site, add the {% mautic_prefetch %} tag within the <head></head> of your templates.
Metadata
Release files for wagtail_mautic 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wagtail_mautic-0.2.1.tar.gz | 210.3 kB | Without provenance | Details for wagtail_mautic-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wagtail_mautic-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for wagtail_mautic-0.2.1-py3-none-any.whl |
Total release size: 217.3 kB
Release files / wagtail_mautic-0.2.1.tar.gz
| Download URL | wagtail_mautic-0.2.1.tar.gz |
|---|---|
| Size | 210.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
924cbef77ea014e37c636663a07148c9adf86e261b970fe4a60f83d65bb1c005
|
|
BLAKE2b-256 checksum How to use checksums |
e05958a1d4ff09102e7ec913916267a337d0a93c9ee7e0dd2f08317a029b4beb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.24.0
|
Release files / wagtail_mautic-0.2.1-py3-none-any.whl
| Download URL | wagtail_mautic-0.2.1-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b3406d82cc735fa1056008a5fa014ded94538ddb5dfd68bc87053a6603a1f92
|
|
BLAKE2b-256 checksum How to use checksums |
069d5a1b7460f4490fcff3e2aa0a5ad562499c4a482708f988d6fc8fe93e3d60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.24.0
|
Security for wagtail_mautic 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.