Skip to main content

Tadau: TrAck Downloads, Adoption and Usage of external solutions.

Project description

Tadau

Tadau is an open-source library available in Python, TypeScript, and Apps Script that simplifies sending tracking data to Google Analytics 4 (GA4) via the Measurement Protocol.

Key Features

  • Seamless GA4 Integration: Easily send raw data directly to GA4 servers using HTTP requests.
  • Predefined and Custom Events: Track predefined events like downloads, errors, or define your own custom events.
  • Flexible Configuration: Configure Tadau using a YAML file or directly within your code.
  • Cross-Platform Support: Works with Python, TypeScript, and Apps Script projects.

Installation

Python:

pip install tadau

Basic Usage

Python:

from tadau import Tadau
tadau = Tadau(config_file_location='config.yaml')

tadau.send_events([
    {
        'client_id': '123',
        'name': 'event_name',
        'value': '42',
        'important_event': 'False',
        'user_id': '11',
    },
    {
        'client_id': '4321',
        'name': 'event_name',
        'value': '42',
        'important_event': 'False',
    },
])

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

tadau-1.0.7.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

tadau-1.0.7-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file tadau-1.0.7.tar.gz.

File metadata

  • Download URL: tadau-1.0.7.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for tadau-1.0.7.tar.gz
Algorithm Hash digest
SHA256 0edba9037bb1faa78bd46e01fbb6f1514fa4e0ab4c284e0ed063ee29eb2225ef
MD5 22b2c6d452694a244dd76a1458779b7a
BLAKE2b-256 464d12192841619a98e96b6963913709d194914a9ea9370bfc6af2517d87923b

See more details on using hashes here.

File details

Details for the file tadau-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: tadau-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for tadau-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4e01cebeaeae266ac59d160d18cff4bba9f78e8e831cfa73f7da1e61e3c3f634
MD5 c2bea7131dc82de7d2ff2de0affe0038
BLAKE2b-256 e4477d874cb01f2024423e1a020080e438dfaf2dfb5b119abb5dc3bc5f21f932

See more details on using hashes here.

Supported by

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