Modern, high-performance marketing website for BreederHQ with enterprise-level visitor intelligence and analytics.
Built with Astro 5 + Tailwind CSS 4.
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run previewAll documentation is in the .docs folder (excluded from git/deployment):
- Quick Start Guide - Get up and running in 15 minutes
- Strategic Advantages - All features & capabilities
- Implementation Summary - What was built & why
- Architecture - Technical details & data flow
✅ Visitor Intelligence - See which companies visit your site ✅ Lead Enrichment - Auto-enrich contacts with company data ✅ Multi-Channel Distribution - Slack, HubSpot, Zapier, your CRM ✅ Session Recordings - Watch user sessions (Microsoft Clarity) ✅ Conversion Tracking - GA4, Meta, LinkedIn, Twitter pixels ✅ Performance Monitoring - Core Web Vitals tracking ✅ SEO Optimization - Comprehensive meta tags & structured data
- Framework: Astro 5.x
- Styling: Tailwind CSS 4.x
- Hosting: Vercel
- Analytics: GA4, Microsoft Clarity
- Language: TypeScript
breederhq-www/
├── .docs/ # Documentation (gitignored)
├── src/
│ ├── components/ # Reusable components
│ │ ├── Analytics.astro
│ │ ├── SEOHead.astro
│ │ ├── ContactForm.astro
│ │ └── CTAButton.astro
│ ├── layouts/ # Page layouts
│ ├── pages/ # Routes & API endpoints
│ │ ├── api/
│ │ │ ├── contact.ts
│ │ │ └── track-visitor.ts
│ │ └── *.astro
│ ├── lib/ # Utilities
│ │ ├── tracking.ts
│ │ ├── performance.ts
│ │ └── server/
│ ├── config/ # Configuration
│ └── styles/ # Global styles
├── public/ # Static assets
├── .env.example # Environment template
└── package.json
-
Copy environment template:
cp .env.example .env
-
Add your API keys (see Quick Start)
-
Deploy to Vercel:
vercel vercel env add PUBLIC_GA4_MEASUREMENT_ID vercel --prod
| Variable | Required | What it does |
|---|---|---|
SLACK_WEBHOOK_URL |
Yes | Posts "New Lead Submitted!" to Slack #leads channel |
RESEND_API_KEY |
Yes | Sends email notifications via Resend |
NOTIFICATION_EMAIL |
Yes | Email address that receives lead notifications (e.g., leads@breederhq.com) |
CLEARBIT_SECRET_KEY |
Optional | Enriches leads with company/person data |
HUBSPOT_API_KEY |
Optional | Auto-creates CRM contacts |
ZAPIER_WEBHOOK_URL |
Optional | Forwards leads to Zapier |
If any required variable is missing, that notification channel silently skips. Check Vercel dashboard > Settings > Environment Variables if notifications stop working.
- Google Analytics 4 with custom events
- Microsoft Clarity (FREE session recordings)
- Multi-platform conversion tracking
- Core Web Vitals monitoring
- Smart contact forms with validation
- Automatic lead enrichment (Clearbit)
- Real-time Slack notifications (
#leadschannel) - Email notifications via Resend (
NOTIFICATION_EMAIL) - CRM integration (HubSpot, Zapier)
- Company identification
- High-value visitor alerts
- Behavioral tracking
- UTM attribution
Free Tier (everything you need to start):
- Google Analytics 4
- Microsoft Clarity
- Slack webhooks
- Social media pixels
- Vercel hosting
Paid Tier (when ready to scale):
- Clearbit Reveal: $99/month (see which companies visit)
- HubSpot Starter: $45/month (CRM)
Proprietary - BreederHQ, Inc.
For detailed setup instructions, see .docs/QUICK-START.md