- Add new 00-claude-code-setting skill for token usage optimization - Includes audit scripts for MCP servers, CLAUDE.md, and extensions - Auto-fix capability with backup for serverInstructions and frontmatter - Add YAML frontmatter to 17 command files - Target: keep baseline under 30% of 200K context limit Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
54 lines
1.2 KiB
Markdown
54 lines
1.2 KiB
Markdown
---
|
|
description: Gtm Manager command
|
|
---
|
|
|
|
# GTM Manager
|
|
|
|
Full GTM management with dataLayer injection and tag generation.
|
|
|
|
## Triggers
|
|
- "GTM manager", "generate dataLayer tag", "dataLayer 태그 생성"
|
|
|
|
## Capabilities
|
|
|
|
1. **Full Audit** - Everything in gtm-audit plus more
|
|
2. **DataLayer Injector** - Generate custom HTML tags
|
|
3. **Event Mapping** - Map site actions to GA4 events
|
|
4. **Notion Export** - Save audit results to Notion
|
|
|
|
## Scripts
|
|
|
|
```bash
|
|
# Full GTM management
|
|
python ourdigital-custom-skills/21-gtm-manager/code/scripts/gtm_manager.py \
|
|
--url https://example.com --full-audit
|
|
|
|
# Generate dataLayer tag
|
|
python ourdigital-custom-skills/21-gtm-manager/code/scripts/gtm_manager.py \
|
|
--generate-tag purchase --output purchase_tag.html
|
|
|
|
# Export to Notion
|
|
python ourdigital-custom-skills/21-gtm-manager/code/scripts/gtm_manager.py \
|
|
--url https://example.com --notion-export --database DATABASE_ID
|
|
```
|
|
|
|
## DataLayer Tag Templates
|
|
|
|
### Purchase Event
|
|
```html
|
|
<script>
|
|
dataLayer.push({
|
|
'event': 'purchase',
|
|
'ecommerce': {
|
|
'transaction_id': '{{Order ID}}',
|
|
'value': {{Order Total}},
|
|
'currency': 'KRW',
|
|
'items': [...]
|
|
}
|
|
});
|
|
</script>
|
|
```
|
|
|
|
## Environment
|
|
- `NOTION_TOKEN` - For Notion export (optional)
|