# 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:
```sh
pip install tadau
```
## Basic Usage
Python:
```py
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',
},
])
```
Raw data
{
"_id": null,
"home_page": "https://github.com/google-marketing-solutions/tadau",
"name": "tadau",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "tadau track google marketing solutions",
"author": "Google Inc.",
"author_email": "gps-tadau+copybara@google.com",
"download_url": "https://files.pythonhosted.org/packages/46/4d/12192841619a98e96b6963913709d194914a9ea9370bfc6af2517d87923b/tadau-1.0.7.tar.gz",
"platform": null,
"description": "# Tadau\n\nTadau is an open-source library available in Python, TypeScript, and Apps Script\nthat simplifies sending tracking data to Google Analytics 4 (GA4) via the\nMeasurement Protocol.\n\nKey Features\n\n* Seamless GA4 Integration: Easily send raw data directly to GA4 servers using\n HTTP requests.\n* Predefined and Custom Events: Track predefined events like downloads,\n errors, or define your own custom events.\n* Flexible Configuration: Configure Tadau using a YAML file or directly within\n your code.\n* Cross-Platform Support: Works with Python, TypeScript, and Apps Script\n projects.\n\n## Installation\n\nPython:\n\n```sh\npip install tadau\n```\n\n## Basic Usage\n\nPython:\n\n```py\nfrom tadau import Tadau\ntadau = Tadau(config_file_location='config.yaml')\n\ntadau.send_events([\n {\n 'client_id': '123',\n 'name': 'event_name',\n 'value': '42',\n 'important_event': 'False',\n 'user_id': '11',\n },\n {\n 'client_id': '4321',\n 'name': 'event_name',\n 'value': '42',\n 'important_event': 'False',\n },\n])\n```\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "Tadau: TrAck Downloads, Adoption and Usage of external solutions.",
"version": "1.0.7",
"project_urls": {
"Homepage": "https://github.com/google-marketing-solutions/tadau"
},
"split_keywords": [
"tadau",
"track",
"google",
"marketing",
"solutions"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e4477d874cb01f2024423e1a020080e438dfaf2dfb5b119abb5dc3bc5f21f932",
"md5": "c2bea7131dc82de7d2ff2de0affe0038",
"sha256": "4e01cebeaeae266ac59d160d18cff4bba9f78e8e831cfa73f7da1e61e3c3f634"
},
"downloads": -1,
"filename": "tadau-1.0.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c2bea7131dc82de7d2ff2de0affe0038",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 8208,
"upload_time": "2024-07-11T19:39:34",
"upload_time_iso_8601": "2024-07-11T19:39:34.784165Z",
"url": "https://files.pythonhosted.org/packages/e4/47/7d874cb01f2024423e1a020080e438dfaf2dfb5b119abb5dc3bc5f21f932/tadau-1.0.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "464d12192841619a98e96b6963913709d194914a9ea9370bfc6af2517d87923b",
"md5": "22b2c6d452694a244dd76a1458779b7a",
"sha256": "0edba9037bb1faa78bd46e01fbb6f1514fa4e0ab4c284e0ed063ee29eb2225ef"
},
"downloads": -1,
"filename": "tadau-1.0.7.tar.gz",
"has_sig": false,
"md5_digest": "22b2c6d452694a244dd76a1458779b7a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7134,
"upload_time": "2024-07-11T19:39:36",
"upload_time_iso_8601": "2024-07-11T19:39:36.130729Z",
"url": "https://files.pythonhosted.org/packages/46/4d/12192841619a98e96b6963913709d194914a9ea9370bfc6af2517d87923b/tadau-1.0.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-11 19:39:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "google-marketing-solutions",
"github_project": "tadau",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "tadau"
}