Skip to main content

title: Pretix Google Analytics

This is a plugin for pretix.

Adds Google Analytics capabilities to Pretix.

Just a development version base, do not use in production as-is as it could expose sensitive data & doesn't support consent.

See pretix-tracking-codes for an officially supported solution.

Kudos to pretix-gtm - this code is inspired by theirs.

Development setup

  1. Make sure that you have a working pretix development setup.
  2. Clone this repository.
  3. Activate the virtual environment you use for pretix development.
  4. Execute python setup.py develop within this directory to register this application with pretix's plugin registry.
  5. Execute make within this directory to compile translations.
  6. Restart your local pretix server. You can now use the plugin from this repository for your events by enabling it in the 'plugins' tab in the settings.

This plugin has CI set up to enforce a few code style rules. To check locally, you need these packages installed:

pip install flake8 isort black

To check your plugin for rule violations, run:

black --check .
isort -c .
flake8 .

You can auto-fix some of these issues by running:

isort .
black .

To automatically check for these issues before you commit, you can run .install-hooks.

License

Copyright 2024 Daniel Malik

Released under the terms of the Apache License 2.0

Release files for pretix-ga 1.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pretix-ga 1.3.4
File Size Uploaded
pretix_ga-1.3.4.tar.gz 15.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pretix-ga 1.3.4
File Interpreter ABI Platform
pretix_ga-1.3.4-py3-none-any.whl Python 3 none any Details

Total release size: 29.4 kB

Release files / pretix_ga-1.3.4.tar.gz

Download URL pretix_ga-1.3.4.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2d06a273af2ac1bff31528f4baf7583134b35f842de798b578ee8f1951a05dbb
BLAKE2b-256 checksum
How to use checksums
e3930de6c4d3da39a3d6b443cff421eed9cda335e71dc3a0eb6283f34fda10cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / pretix_ga-1.3.4-py3-none-any.whl

Download URL pretix_ga-1.3.4-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
193e882b500c164151188d9628f9bb1ed94755b99acc36c831e8ada1de88e35a
BLAKE2b-256 checksum
How to use checksums
ac8adb65c4730a34d19967223b956432d3df2db16f1e828c60ffdb1058fed71f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

1.3.4 This release

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.10

2 release files

1.2.3

2 release files

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