ga4-deploy
PLUGINScript the GA4 Admin API from Ulpi: ga4_discover (accounts->properties->streams), ga4_channel_groupings.
by skeptical-agency · v0.1.1
What it does
Script the GA4 Admin API from Ulpi: ga4_discover (accounts->properties->streams), ga4_channel_groupings (inspect the system Default Group, deploy readable DNF specs with automatic CNF distribution, eachScope* field mapping, inListFilter ban — it saves 200 but renders BLANK in the UI — converted to anchored FULL_REGEXP alternation, 2-custom-grouping cap enforced, PATCH-in-place replacement, read-back verification), ga4_audiences (deploy with skip-by-name idempotency, immutable-filterClauses archive+rebuild path, pagePath->pageLocation correction, orGroup-wrapper clause building), ga4_annotations (batch create with uppercase color enum, 150-char cap and title+date dedupe), ga4_enhanced_measurement (per-stream get/set with updateMask built and absent=false semantics documented). Distilled from live fleet deploys across a 27-account agency where the official docs were wrong about v1alpha vs v1beta endpoints, field names and enum values.
Disclosure — auth is a declared oauth.
Tools it adds
The tools an agent gets once this plugin is installed.
- ga4_status
- ga4_discover
- ga4_channel_groupings
- ga4_audiences
- ga4_annotations
- ga4_enhanced_measurement
Review notes
What an owner reads and accepts before the install is approved.
- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve