--- 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 custom-skills/21-gtm-manager/code/scripts/gtm_manager.py \ --url https://example.com --full-audit # Generate dataLayer tag python custom-skills/21-gtm-manager/code/scripts/gtm_manager.py \ --generate-tag purchase --output purchase_tag.html # Export to Notion python 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 ``` ## Environment - `NOTION_TOKEN` - For Notion export (optional)