Major refactoring of ourdigital-custom-skills with new numbering system: ## Structure Changes - Each skill now has code/ (Claude Code) and desktop/ (Claude Desktop) versions - New progressive numbering: 01-09 General, 10-19 SEO, 20-29 GTM, 30-39 OurDigital, 40-49 Jamie ## Skill Reorganization - 01-notion-organizer (from 02) - 10-18: SEO tools split into focused skills (technical, on-page, local, schema, vitals, gsc, gateway) - 20-21: GTM audit and manager - 30-32: OurDigital designer, research, presentation - 40-41: Jamie brand editor and audit ## New Files - .claude/commands/: Slash command definitions for all skills - CLAUDE.md: Updated with new skill structure documentation - REFACTORING_PLAN.md: Migration documentation - COMPATIBILITY_REPORT.md, SKILLS_COMPARISON.md: Analysis docs ## Removed - Old skill directories (02-05, 10-14, 20-21 old numbering) - Consolidated into new structure with _archive/ for reference 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
50 lines
1.2 KiB
Markdown
50 lines
1.2 KiB
Markdown
# 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)
|