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.8.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

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

tadau-1.0.8-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tadau-1.0.8.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tadau-1.0.8.tar.gz
Algorithm Hash digest
SHA256 a7605776d4b8d508ce2ad5e6e745aa5220303a19c5b54d71185070ee47d2e242
MD5 69b88fde410881938c2b0506ef4e81bc
BLAKE2b-256 176f3c402815ea1b41524787269019107aae068ee82a1bd4fb34eaf658c1916d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tadau-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tadau-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7205cd3aaa5597a0f441d1f91e0ca1a6ce19de00619dd9f85d4457165944485d
MD5 46d77b2d61ab1d779c8ff94646d62a59
BLAKE2b-256 a48b2a05d30dbf8b06187910839466e90b3cfe811608d0b791efd663b0f666f9

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