Skip to main content

gtm-telemetry-wizard

Declarative GTM Container IaC Compiler, Playwright E2E Live Verifier, and GA4 Telemetry Ingestion Setup Wizard.

gtm-telemetry-wizard is a standalone CLI tool and Python library for automating Google Tag Manager (GTM) container setups, compiling declarative IaC specs, verifying live webpage telemetry with Playwright, and warming up GA4 measurement streams to achieve Container Quality: Excellent.


Features

  • 5-Phase Setup Wizard: Diagnostic check, container spec compilation, live Playwright verification, GA4 ingest warm-up, and container quality reporting.
  • GA4 Ingest Warm-Up: Delivers initial telemetry pings directly to GA4 (/g/collect), automatically clearing 48-hour missing traffic quality alerts.
  • Playwright E2E Verification: Headless/Headful browser verification inspecting gtm.js snippet loading, dataLayer events, and UTM parameters.
  • Dual Deployment Options: Automated browser import (via Playwright CDP persistent Chrome profile) or GTM REST API v2 deployment.
  • Borderless Terminal UI: Clean Rich-powered terminal interface.

Installation

pip install gtm-telemetry-wizard

Or install from source:

git clone https://github.com/bizkite-co/gtm-telemetry-wizard.git
cd gtm-telemetry-wizard
pip install -e .

Quick Start

1. Guided Setup Wizard

Run the 5-phase setup wizard for any website and container ID:

telemetry-wizard wizard --domain example.com --container-id GTM-XXXXXXX --ga4-id G-YYYYYYYY

2. Using telemetry.toml Configuration File

Create a telemetry.toml in your project directory:

[site]
domain = "example.com"
container_id = "GTM-53F6J2WX"
ga4_measurement_id = "G-HJJ9TK2TKY"

[deployment]
mode = "browser"
headful = true

Then run:

telemetry-wizard wizard --config telemetry.toml

Python API Usage

from gtm_telemetry_wizard import TelemetryConfig, TelemetryProvider

# Initialize provider
config = TelemetryConfig(domain="example.com", container_id="GTM-XXXXXXX")
provider = TelemetryProvider(config)

# Run live telemetry verification
results = provider.verify_live_telemetry()
print("GTM Loaded:", results["gtm_script_loaded"])

# Send initial GA4 warm-up ping
ping_res = provider.ping_ga4_measurement_id("G-YYYYYYYY")
print("Ping Status:", ping_res["status"])

CLI Reference

  • telemetry-wizard wizard - Guided 5-phase telemetry setup wizard.
  • telemetry-wizard sync - Compile GTM container IaC spec.
  • telemetry-wizard verify - Run Playwright E2E live URL verification.
  • telemetry-wizard ping - Deliver initial GA4 warm-up measurement hit.

License

MIT License © 2026 Bizkite Co.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gtm_telemetry_wizard-0.1.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

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

gtm_telemetry_wizard-0.1.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file gtm_telemetry_wizard-0.1.0.tar.gz.

File metadata

  • Download URL: gtm_telemetry_wizard-0.1.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gtm_telemetry_wizard-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1e30416c1c9db43d24a41c7ba530243f1dcbc76185ec8e574542fe375c8b2a88
MD5 6032109ec0d12afef95d569f7d1650e5
BLAKE2b-256 69f4c565d52fea6eb656e52f39452ad9490f162bfdfaf711f3640f1df87754d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for gtm_telemetry_wizard-0.1.0.tar.gz:

Publisher: publish.yml on bizkite-co/gtm-telemetry-wizard

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gtm_telemetry_wizard-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gtm_telemetry_wizard-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb12a68e36e1120ad15ff0dd3913fd05ec3a7109f2c20c7f2a2986c227e0e616
MD5 5f83f971d27aac2da557cded11a3b2c5
BLAKE2b-256 659ea3d784800043cb551a810c1365587ab1351d69518fd912e3a36255dce1b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for gtm_telemetry_wizard-0.1.0-py3-none-any.whl:

Publisher: publish.yml on bizkite-co/gtm-telemetry-wizard

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

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