← Back to Skills Marketplace
jtrackingai

Test

by jtrackingai · GitHub ↗ · v1.0.12 · MIT-0
cross-platform ⚠ suspicious
72
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install analytics-tracking-automation
Description
Use when you need end-to-end GA4 + GTM tracking delivery across discovery, schema, sync, and verification phases.
README (SKILL.md)

Analytics Tracking Automation

Use this skill as the end-to-end coordinator for GA4 + GTM tracking delivery.

Use it when:

  • the user needs a full GA4 + GTM implementation flow, from analysis to go-live readiness
  • the request spans multiple workflow phases (discovery, schema, sync, verification, publish)
  • the correct entry point is still unclear and you need this skill to route to the right phase

Do not assume the user wants the full workflow.

Skill Family

The skill family is split into one umbrella skill plus seven phase skills:

  • tracking-discover for crawl coverage, platform detection, and fresh artifact bootstrap
  • tracking-group for page-group authoring and approval
  • tracking-live-gtm for auditing the real live GTM runtime before schema generation
  • tracking-schema for schema preparation, review, validation, and approval
  • tracking-sync for GTM config generation and sync
  • tracking-verify for preview QA and optional publish handoff
  • tracking-shopify for Shopify-specific schema, sync, install, and verification rules

If the request is already bounded to one phase and that phase skill is available, route there instead of inlining the full runbook here.

Once site-analysis.json indicates Shopify, keep discovery and grouping shared, then let tracking-shopify own the Shopify-specific branch.

Shared Contract

  • Use the public command event-tracking in this repository. If dist/cli.js is missing, run npm run build first.
  • For public/ClawHub installs, you must run this first before any event-tracking command: npx skills add jtrackingai/analytics-tracking-automation.
  • Keep one artifact directory per site at \x3Coutput-root>/\x3Curl-slug>.
  • If the user already provides an artifact directory or one of its files, resume from the earliest unmet prerequisite instead of restarting from analyze.
  • Use event-tracking status \x3Cartifact-dir-or-file> whenever the current checkpoint or next step is unclear.
  • Use event-tracking runs \x3Coutput-root> when the artifact directory is unknown but the output root is known.
  • Prefer high-level entry commands for user-facing flows: run-new-setup, run-tracking-update, run-upkeep, run-health-audit.
  • Treat workflow mode metadata as an internal workflow-state layer, not a user-facing command surface.
  • Treat Playwright-backed and OAuth-prompting steps as non-sandbox commands by default. In practice: analyze, validate-schema --check-selectors, preview, and sync.
  • Run prompt-driven GTM sync with an interactive TTY from the start unless exact --account-id, --container-id, and --workspace-id values are already confirmed.
  • Never auto-select a GTM account, container, or workspace on the user's behalf.
  • Do not continue past the phase boundary the user asked for.

Conversation Intake

When the user enters through chat and has not yet provided a bounded phase, artifact directory, or exact command, start with an intent-first intake.

Classify the request into one of these entry intents:

  • resume_existing_run: the user already has an artifact directory or one of its files; inspect the artifacts and use status
  • new_setup: net-new tracking implementation from scratch; prefer run-new-setup, then follow its recommended next step
  • tracking_update: revise or extend an existing implementation; prefer run-tracking-update
  • upkeep: routine maintenance, review, or incremental QA on an existing setup; prefer run-upkeep
  • tracking_health_audit: audit-only assessment of current live tracking; prefer run-health-audit
  • analysis_only: crawl/bootstrap/discovery only without committing to the full workflow yet; route to tracking-discover and stop after analyze

Rules:

  • Do not ask the user to choose between internal workflow metadata flags and analyze.
  • If intent is ambiguous, ask one short plain-language intake question using user-facing terms such as "new setup", "update existing tracking", "upkeep", "health audit", "analyze only", or "resume an existing run".
  • If the user gives a fresh URL and asks to set up tracking, default to new_setup.
  • If the user gives a fresh URL and only asks to inspect the site, analyze structure, or review current tracking signals, default to analysis_only.
  • If the user gives an artifact directory or workflow file, default to resume_existing_run instead of restarting from analyze.

Routing Rules

Route by user intent and current artifacts:

  • fresh URL, crawl request, or no artifacts yet: start with tracking-discover
  • site-analysis.json with missing or unconfirmed pageGroups: route to tracking-group
  • confirmed site-analysis.json with detected live GTM container IDs but no live baseline review yet: route to tracking-live-gtm
  • confirmed site-analysis.json or an in-progress event-schema.json: route to tracking-schema
  • gtm-config.json: route to tracking-sync
  • gtm-context.json: route to tracking-verify, with publish treated as a separate explicit action
  • Shopify platform confirmation: keep shared early stages, then hand off to tracking-shopify

If only the root skill is available, follow the same routing logic directly and stop at the matching phase boundary.

Stop Rules

  • Do not bypass page-group approval before prepare-schema.
  • For key decision checkpoints, always require explicit user confirmation before continuing:
    • pageGroups (before confirm-page-groups and before prepare-schema)
    • event-schema.json (before confirm-schema and before generate-gtm)
    • GTM target selection (account/container/workspace during sync)
    • publish decision (before publish)
  • If confirmation is missing or ambiguous, stop and ask; do not auto-proceed.
  • A broad request such as "full workflow", "全流程", "end-to-end", or "continue all the way" is scope authorization only. It does not count as checkpoint approval.
  • Never record checkpoint approval on the user's behalf with confirm-page-groups --yes or confirm-schema --yes unless the user explicitly confirms that checkpoint in the current turn.
  • When live GTM containers are detected on the site, do not bypass the live baseline review before schema generation.
  • Do not bypass schema approval before generate-gtm unless the user explicitly wants --force.
  • Treat preview QA and publish as separate decisions.
  • Treat tracking-health.json as the publish gate; do not jump to publish when health is missing, manual-only, or blocked unless the user explicitly wants --force.
  • Treat Shopify manual verification as the expected path for Shopify runs, not as a fallback error case.
  • Treat tracking_health_audit as an audit-only workflow mode. Do not run GTM deployment actions (generate-gtm, sync, publish) unless the user explicitly asks to override.

Resume And Closeout

When resuming:

  • prefer workflow-state.json when present
  • still inspect the real artifact set if warnings indicate stale gates
  • use status when the next step is unclear

When a phase or the full workflow ends, keep the closeout answer-first:

  • lead with a compact, decision-ready summary in plain language
  • do not dump raw JSON, raw URL lists, or artifact inventory before the summary
  • list files, checkpoint, and next command only after the human-readable summary

References

Usage Guidance
This appears to be a coherent runbook for automating GA4 + GTM workflows, but before installing or running it: (1) ensure you have Node.js 18+, npm, and Playwright Chromium available as the SKILL.md requires, (2) confirm the provenance of the external CLI/package referenced (jtrackingai/analytics-tracking-automation) before running npx or npm build, (3) expect interactive Google OAuth during GTM sync — the tokens will be stored in an artifact-scoped credentials.json file (do not commit this file; treat it as sensitive), (4) selector validation uses a real browser and must run outside sandboxed environments, so run on a machine you trust, and (5) telemetry is optional and can be disabled with DO_NOT_TRACK=1 or EVENT_TRACKING_TELEMETRY=0. If you want higher assurance, ask the publisher for the CLI source code or an install package and inspect it before granting OAuth access or running installs.
Capability Analysis
Type: OpenClaw Skill Name: analytics-tracking-automation Version: 1.0.12 The skill bundle provides comprehensive GA4 and GTM automation, which inherently requires high-risk capabilities such as browser automation (Playwright), OAuth credential caching (credentials.json), and the ability to modify/publish GTM container configurations. While the instructions in SKILL.md and references/output-contract.md include significant safety guardrails—such as mandatory user confirmation gates and 'stop rules' to prevent unauthorized publishing—the power to inject tags into live websites and handle sensitive API tokens warrants a suspicious classification under the provided criteria. No evidence of intentional malice was found, but the attack surface includes potential supply chain risks via 'npx skills add' and local credential storage.
Capability Tags
cryptocan-make-purchasesrequires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The name/description (GA4 + GTM end-to-end workflow) matches the included runbook and references. The runbook expects a Node.js CLI (event-tracking), Playwright Chromium for selector checks, and interactive Google OAuth for GTM sync — all plausible and proportionate for this purpose. Minor mismatch: the bundle is instruction-only and does not include the CLI or an install spec; the SKILL.md instructs using npx or local npm build which is reasonable but means the skill expects external tooling to be present.
Instruction Scope
Runtime instructions focus on crawling, schema generation, selector validation, GTM config generation, preview, and publish. They reference artifact files (site-analysis.json, event-schema.json, gtm-config.json, credentials.json) that are central to the workflow. The instructions do not ask the agent to read unrelated system files or exfiltrate data to unknown endpoints. They do require running Playwright outside sandboxed environments and performing interactive OAuth prompts.
Install Mechanism
No install spec is bundled (instruction-only), which lowers supply-chain risk. However, the SKILL.md assumes you will run or install an external Node-based CLI (via npm build or npx skills add jtrackingai/analytics-tracking-automation). Verify the provenance of that external package before running npx or npm commands.
Credentials
The skill declares no required environment variables. It documents optional telemetry flags (DO_NOT_TRACK, EVENT_TRACKING_TELEMETRY) and uses interactive Google OAuth during GTM sync; OAuth tokens are cached into an artifact-scoped credentials.json. Requesting OAuth and writing tokens to the artifact directory is proportionate to the stated GTM sync purpose but is sensitive — users should safeguard the artifact directory and avoid committing credentials.json.
Persistence & Privilege
The skill does not request always:true and is user-invocable. It does not request system-wide persistent modifications in the bundle. The only persistent artifact behavior noted is caching Google OAuth tokens inside the artifact directory (expected for GTM sync).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install analytics-tracking-automation
  3. After installation, invoke the skill by name or use /analytics-tracking-automation
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.12
**Major update: CLI dist files and runtime logic removed. Now routes all commands to public standalone CLI interface.** - Removed 41 bundled CLI files, including all runtime and agent code. - Updated usage instructions to require the public `event-tracking` CLI; all commands use this interface. - Skill now only acts as a workflow router and intake/routing layer—no longer executes analysis, schema, or sync logic directly. - Users must manage builds and CLI dependencies themselves; instructs to install with `npx skills add jtrackingai/analytics-tracking-automation` and run `npm run build` if needed. - Updated documentation to reflect the new routing-only role and changed command surfaces.
v1.0.11
**Significant bundle and contract update with renamed and streamlined skill.** - Renamed skill from "event-tracking-skill" to "analytics-tracking-automation" with updated references throughout. - Streamlined usage and workflow documentation; removed deprecated command wrappers and internal details from SKILL.md. - Replaced or removed 87 obsolete files, including templates, scripts, and documentation, and added 41 focused runtime and configuration files. - Updated contract: now recommends launching via the bundled CLI runtime and enforces strict phase boundary stops and explicit user confirmations. - Simplified intake, routing, and stop rules for clearer intent handling and next-action guidance.
Metadata
Slug analytics-tracking-automation
Version 1.0.12
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Test?

Use when you need end-to-end GA4 + GTM tracking delivery across discovery, schema, sync, and verification phases. It is an AI Agent Skill for Claude Code / OpenClaw, with 72 downloads so far.

How do I install Test?

Run "/install analytics-tracking-automation" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Test free?

Yes, Test is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Test support?

Test is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Test?

It is built and maintained by jtrackingai (@jtrackingai); the current version is v1.0.12.

💬 Comments