Files
our-claude-skills/ourdigital-custom-skills/13-ourdigital-gtm-manager/setup.sh
Andrew Yim ec5e30c825 feat(gtm-manager): Rename to ourdigital-gtm-manager and add dataLayer injector
BREAKING CHANGE: Renamed from 13-gtm-audit to 13-ourdigital-gtm-manager

New Features:
- DataLayerInjector class for generating custom HTML tags
- Support for 20+ GA4 event types (ecommerce, forms, video, engagement)
- Subcommand structure: audit and inject modes
- Preset tag generation (ecommerce, engagement, all)
- DOM scraping option for dynamic value extraction
- Generate tags from audit report findings
- Korean payment method support (카카오페이, 네이버페이, 토스)

CLI Changes:
- `python gtm_manager.py audit --url ...` for auditing
- `python gtm_manager.py inject --preset ecommerce` for tag generation
- `python gtm_manager.py inject --event purchase --event add_to_cart`
- `python gtm_manager.py inject --from-audit report.json`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-20 20:55:42 +09:00

31 lines
674 B
Bash

#!/bin/bash
# GTM Audit Tool Setup Script
echo "🔧 Setting up GTM Audit Tool..."
# Check Python
if ! command -v python3 &> /dev/null; then
echo "❌ Python 3 is required but not installed."
exit 1
fi
echo "✅ Python 3 found"
# Install dependencies
echo "📦 Installing Python dependencies..."
pip install -r requirements.txt
# Install Playwright browsers
echo "🌐 Installing Playwright browsers..."
playwright install chromium
echo ""
echo "✅ Setup complete!"
echo ""
echo "Usage:"
echo " python gtm_audit.py --url 'https://example.com' --journey full"
echo ""
echo "For Claude Code:"
echo " claude"
echo " > Run a GTM audit on https://example.com"