- 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>
31 lines
674 B
Bash
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"
|