Skip to main content

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',
    },
])

Metadata

Release files for tadau 1.0.8

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

Source distribution (sdist)

Source distribution for tadau 1.0.8
File Size Uploaded
tadau-1.0.8.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tadau 1.0.8
File Interpreter ABI Platform
tadau-1.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 15.7 kB

Release files / tadau-1.0.8.tar.gz

Download URL tadau-1.0.8.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a7605776d4b8d508ce2ad5e6e745aa5220303a19c5b54d71185070ee47d2e242
BLAKE2b-256 checksum
How to use checksums
176f3c402815ea1b41524787269019107aae068ee82a1bd4fb34eaf658c1916d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / tadau-1.0.8-py3-none-any.whl

Download URL tadau-1.0.8-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7205cd3aaa5597a0f441d1f91e0ca1a6ce19de00619dd9f85d4457165944485d
BLAKE2b-256 checksum
How to use checksums
a48b2a05d30dbf8b06187910839466e90b3cfe811608d0b791efd663b0f666f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

1.0.8 This release

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

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