tracking-discover
Use when the user wants crawl coverage, platform detection, dataLayer discovery, or a fresh artifact directory before grouping and schema work.
来源信息
- 仓库
- jtrackingai/analytics-tracking-automation
- 最近来源活动
- 2026年4月17日 09:04
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 142
- 分支
- 41
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
文件资源管理器
2 个文件正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- tracking-discover
- description
- Use when the user wants crawl coverage, platform detection, dataLayer discovery, or a fresh artifact directory before grouping and schema work.
# Tracking Discover
Use this skill for analysis-only work and fresh workflow bootstrap.
## Inputs
- target URL
- output root directory
- optional Shopify storefront password
## Commands
In this repository, use the repo-root wrapper:
```bash
./event-tracking analyze <url> --output-root <output-root>
```
`analyze` launches a real Chromium via Playwright to fetch the target site over HTTP. Run it in an environment that permits outbound network and local browser execution; environments that restrict either tend to cause Playwright to hang or fail silently rather than return a clean error.
Before `run-new-setup` or `analyze`, if the tool needs a telemetry consent answer and no prior choice is already recorded, stop and follow [../../references/telemetry-consent.md](../../references/telemetry-consent.md). Do not choose on the user's behalf, and do not continue until they answer.
Partial mode:
```bash
./event-tracking analyze <url> --output-root <output-root> --urls https://example.com/page-a,https://example.com/page-b
```
## Required Output
Produce and share:
- `<artifact-dir>/site-analysis.json`
- `<artifact-dir>/workflow-state.json`
Report:
- pages analyzed
- skipped URLs
- warnings
- detected `dataLayer` events
- detected live GTM container IDs
- detected platform
## Closeout Style
- default to a short human-readable analysis summary before listing files
- summarize coverage, platform, GTM detection, and notable warnings first
- do not dump raw page HTML, raw JSON, or full URL inventories unless the user explicitly asks for them
- list generated files and the next command only after the summary
## Stop Boundary
Unless the user explicitly asks for the next phase, stop after analysis.
If telemetry consent is still unanswered, stop before analysis starts and wait for the user's explicit choice.
If the user wants to continue, the default next command is:
```bash
./event-tracking status <artifact-dir>
```
## References
- [../../references/crawl-guide.md](../../references/crawl-guide.md)
- [../../references/architecture.md](../../references/architecture.md)
- [../../references/output-contract.md](../../references/output-contract.md)
- [../../references/telemetry-consent.md](../../references/telemetry-consent.md)
在 GitHub 查看