Pretix Sales Map Plugin
A powerful geographic analytics and visualization plugin for pretix. This plugin allows you to visualize where your attendees are coming from, track sales growth over time, and analyze regional market penetration.
✨ Features
- 📍 Automatic Geocoding: Automatically converts attendee addresses to map coordinates upon payment.
- 🗺️ Interactive Map: Switch between Pin View (with clustering), Heatmap, and Density Grid.
- 📈 Sales Analytics: Track total revenue, average travel distance, and top regions (cities/items).
- ⏱️ Timeline Animation: Play back the history of your sales to see geographic growth over time.
- ★ Marketing Milestones: Define important dates (e.g., newsletters) in the UI to see their impact on the timeline.
- 🔄 Event Comparison: Overlay data from previous events to compare reach and performance.
- ⚠️ Quality Control: Dedicated view for orders with failed geocoding to manage data issues.
- 🌙 Nightly Sync: Automated background task to retry failed geocoding attempts.
- 🔘 Manual Trigger: Admin button to re-run geocoding for all orders of an event.
🚀 Installation & Setup
To use this plugin with your local pretix instance (C:\Users\SCJA03\Desktop\Programmieren\pretix):
1. Register the Plugin
Open your terminal, navigate to this directory, and ensure your pretix virtual environment is active.
python setup.py develop
2. Run Migrations
Apply the database changes for geodata and milestones:
# From your pretix/src directory
python manage.py migrate
3. Configuration
Add a User-Agent for the geocoding service in your pretix.cfg:
[pretix_mapplugin]
nominatim_user_agent = YourProjectName/1.0 (contact@yourdomain.com)
4. Enable the Plugin
- Log in to your Pretix Control Panel.
- Go to Organizer Settings > Plugins and enable Map-Plugin.
- In your specific Event > Settings > Plugins, also enable Map-Plugin.
🛠️ Usage
- Map View: Navigate to Sales Map > Map View in the event sidebar.
- Milestones: Go to Sales Map > Milestones to add marketing dates.
- Revenue Weighting: Use the toggle button on the map to see "where the money comes from" instead of just "where the people are".
🚀 Starting the Application (Development)
- Pretix Server:
cd C:\Users\SCJA03\Desktop\Programmieren\pretix\src python manage.py runserver
- Celery Worker:
cd C:\Users\SCJA03\Desktop\Programmieren\pretix\src celery -A pretix.celery_app worker -l info
Note: If you don't have a broker like Redis or RabbitMQ running, the plugin will automatically fall back to synchronous geocoding (eager mode) if configured inpretix.cfg.
🛡️ Requirements
- pretix >= 2.7
- geopy
- A running Celery worker (essential for background geocoding)
Developed by MarkenJaden. Released under the Apache License 2.0.
Metadata
Release files for pretix-map 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pretix_map-0.1.9.tar.gz | 723.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pretix_map-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.5 MB
Release files / pretix_map-0.1.9.tar.gz
| Download URL | pretix_map-0.1.9.tar.gz |
|---|---|
| Size | 723.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21ec895789c41323f713bdd86b1a56c61eb706b0c44462f319fdbad1eefa47f4
|
|
BLAKE2b-256 checksum How to use checksums |
be4f67a6c36d13695557bda0e17a86a7f19c82d2e2bc55f7f8763a9f99a7dfc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 6, 2026.
Transparency logRelease files / pretix_map-0.1.9-py3-none-any.whl
| Download URL | pretix_map-0.1.9-py3-none-any.whl |
|---|---|
| Size | 744.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6cc6aad2acd82d7df9d9c7f62e89a6a894806a2ed155f2f342df503ade820fbb
|
|
BLAKE2b-256 checksum How to use checksums |
76a1d6d010ef67d0bebcb327d57d09bbea88dbeb4ab6edf0aef2b825e392d7e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 6, 2026.
Transparency log