G
GHL SOPKnowledge Base
Search
← All topics

Agency Analytics Stack: GHL + Instantly + N8N → Supabase → Metabase Dashboard

Roadmap for building a unified analytics system that aggregates data from GHL, Instantly, and N8N cold SMS engine into Supabase, visualized through self-hosted Metabase for tracking CPL, CPA, CAC, and full-funnel KPIs.

analyticssupabasemetabasekpitracking
Agent trigger phrases: agency analytics setup · track cac across channels · ghl instantly analytics combined · metabase for agency kpis · supabase analytics dashboard · unified agency reporting · cost per acquisition tracking

Agency Analytics Infrastructure Plan

Problem

  • Data is scattered across GHL, Instantly, Signal House, N8N, and Supabase
  • No single source of truth for funnel KPIs
  • Current analytics are unreliable ("I don't even trust the analytics showing right now")
  • Flying blind on actual CAC, CPL, booking rate, show rate

Key Metrics to Track

| Metric | Definition | |--------|------------| | CPL | Cost Per Lead | | CPA | Cost Per Appointment | | CAC | Customer Acquisition Cost | | LTV | Lifetime Value | | LTV:CAC Ratio | Payback efficiency | | Payback Period | Months to recoup CAC | | Booking Rate | Interested → Booked | | Show Rate | Booked → Showed | | Close Rate | Showed → Closed |

Architecture

Data Sources:
├── GHL (pipeline stages, appointments, conversions)
├── Instantly (email campaigns, reply rates)
├── N8N SMS Engine (sends, deliveries, replies via Signal House)
└── Iron Funnels (funnel submissions, page views)
        ↓
    Supabase (central database)
        ↓
    Metabase (self-hosted at analytics.ironops.xyz)
        ↓
    Dashboards & KPI tracking

Implementation Approach

  1. GHL → Supabase: Server-side sync every 30 minutes (like a Conversions API for internal use)
  2. Instantly → Supabase: API pull for campaign stats
  3. N8N SMS Engine → Supabase: Already logging to Supabase (needs cleanup)
  4. Metabase: Self-hosted, connects directly to Supabase, visualizes everything

Priority Order

  1. Conversation AI (boost booking rate)
  2. No-show workflow (boost show rate)
  3. Onboarding flow (streamline delivery)
  4. Analytics system (track everything, make data-driven decisions)
  5. Scale volume

Key Insight

"Before we crank volume even more, I want to make sure we're in KPI for reply rate, cost per lead, cost per customer. Mainly just cost per customer — that's the only thing that really matters. Everything else is vanity."