🚀 Launch Week Day 3:Introducing Supply Chain Attack Campaigns Tracking.Learn More →
Socket
Book a DemoInstallSign in
Socket

tadau

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tadau

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

pipPyPI
Version
1.0.8
Maintainers
1

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

Keywords

tadau track google marketing solutions

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts