refactor(gtm): Split into lightweight audit and comprehensive manager
- 13-ourdigital-gtm-audit: Lightweight audit-only tool (original) - GTM container validation - DataLayer event checking - Form and checkout analysis - No Notion integration, no inject mode - 14-ourdigital-gtm-manager: Comprehensive management toolkit - Full audit capabilities - DataLayerInjector for custom HTML tag generation - Notion integration for audit logging - 20+ GA4 event templates 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
30
ourdigital-custom-skills/14-ourdigital-gtm-manager/setup.sh
Normal file
30
ourdigital-custom-skills/14-ourdigital-gtm-manager/setup.sh
Normal file
@@ -0,0 +1,30 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user