Commit Graph

7 Commits

Author SHA1 Message Date
a009cf7d70 feat: Rewrite sales lead monitor in Python with dual API support
- Created monitor.py to replace bash script
- Checks ROI Calculator API (interest form endpoint not found)
- Properly parses JSON responses and tracks processed leads
- Sends Telegram notifications for NEW leads only
- Fixed timeout issues from bash script
- State file now tracks both ROI and interest form leads
- 3 test leads (IDs 5, 6, 7) detected and notifications sent
2026-04-08 08:32:48 -04:00
872c82f7ab fix: Correct GA4 scroll event counting
- Fixed bug where scroll events showed percentage values instead of actual counts
- Now queries scroll_25, scroll_50, scroll_75 individually with EXACT match
- Properly extracts event counts from GA4 API response
- Scroll tracking now shows real engagement numbers
2026-04-06 08:57:47 -04:00
b55c9162c2 fix: Restore Reddit Scout cron job schedule
- Added Reddit Scout back to install-all-crons.sh
- Schedule: 8 AM and 3 PM daily
- Last run: March 20 (cron was missing)
- Added README with restoration instructions
- User needs to run: bash install-all-crons.sh
2026-04-01 19:52:19 -04:00
ba066f9984 feat: Enhanced GA4 integration with engagement tracking
- Added scroll depth tracking (25%, 50%, 75%)
- Track form interactions and outbound clicks
- Added engagement rate, avg session duration, page views
- Updated daily report with comprehensive engagement metrics
- Created ga4-list-events.py to discover tracked events
- All metrics now flow to morning brief
2026-04-01 19:40:51 -04:00
e59ddd045d docs: Add GA4 integration documentation 2026-04-01 19:23:51 -04:00
eb1a65b661 feat: Integrate GA4 analytics into SEO agent
- Added GA4 traffic monitoring to seo-agent.py
- Tracks sessions, users, bounce rate from GA4
- Detects traffic anomalies (>50% drop triggers alert)
- Maintains 30-day traffic history in state
- Updated daily-report.sh with enhanced GA4 metrics
- GA4 data now flows to morning brief
- Hourly checks every 6 hours to avoid API fatigue
2026-04-01 19:23:00 -04:00
5319bcd30b feat: Add Chatwoot Agent Bot prototype and FAQ knowledge base
- Created chatwoot-agent-bot/ with Node.js webhook server
- Bot detects intent (greeting, billing, technical, features, account)
- Auto-responds from FAQ knowledge base or escalates to human
- FAQ-KB.md: Living knowledge base that grows with customer questions
- CHATWOOT-SETUP.md: Complete deployment and configuration guide
- Supports Telegram notifications on escalation
- Bot runs on port 3001, ready for Chatwoot webhook integration
2026-04-01 16:26:05 -04:00