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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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