Skip to main content

Adds Google Analytics capabilities to Pretix

Project description


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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pretix_ga-1.2.10.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pretix_ga-1.2.10-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file pretix_ga-1.2.10.tar.gz.

File metadata

  • Download URL: pretix_ga-1.2.10.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for pretix_ga-1.2.10.tar.gz
Algorithm Hash digest
SHA256 2e7cba91197d0a96b6f6bb319d6c4919f94a435e6f7727118017525af2459cd5
MD5 546dcff1cb1fbd3dc3070f3c5accc883
BLAKE2b-256 4abbe84657b449317a8379c7e56a757a593453b5f81a0e6b4e57f92cc1135b6b

See more details on using hashes here.

File details

Details for the file pretix_ga-1.2.10-py3-none-any.whl.

File metadata

  • Download URL: pretix_ga-1.2.10-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for pretix_ga-1.2.10-py3-none-any.whl
Algorithm Hash digest
SHA256 0dfaff83904390a418c2dd87156d7b78b51b84a024e5e6d6542bbbfe4d34f378
MD5 1ff8a38589cf8bf10c40e0f7039a3ce5
BLAKE2b-256 2d0c655589b4d983142480123f827425f85034fbb55e5e8c0b5684eba6b068a2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page