Reeve
Features

Web Analytics

GA4 and PostHog integration for traffic, funnels, top pages, and user behavior.

Web Analytics

Web Analytics integrates with GA4 and PostHog to provide traffic data, funnels, top pages, geographic breakdowns, and error tracking — accessible from the dashboard and agent tools.

Data Sources

SourceWhat It ProvidesConnector
PostHogProduct analytics, funnels, feature flagsPostHog connector
GA4Website traffic, top pages, traffic sourcesGA4 connector

Both can be connected simultaneously — the dashboard merges data from both sources.

Metrics

MetricDescription
SessionsTotal user sessions in period
Page ViewsTotal page views
Bounce RatePercentage of single-page sessions
Avg. Session DurationMean time on site
Top PagesMost visited pages ranked by views
Traffic SourcesWhere visitors come from (organic, paid, direct, referral)
Geographic DataVisitor locations by country/city
FunnelsMulti-step conversion funnels
ErrorsJavaScript errors and failed requests

Agent Tools

Agents access analytics through the reeve_analytics tool:

// Overall summary
reeve_analytics({ action: "get_summary", period: "30d" })

// Conversion funnels
reeve_analytics({ action: "get_funnel", period: "7d" })

// Top performing pages
reeve_analytics({ action: "get_top_pages", limit: "10" })

// Daily traffic trends
reeve_analytics({ action: "get_daily", period: "30d" })

// Traffic source breakdown
reeve_analytics({ action: "get_traffic_sources", period: "30d" })

// Geographic distribution
reeve_analytics({ action: "get_geographic" })

// Error tracking
reeve_analytics({ action: "get_errors", period: "7d" })

Example response (summary)

{
  "sessions": 24500,
  "page_views": 67800,
  "bounce_rate": 0.42,
  "avg_session_duration": "3m 12s",
  "top_pages": [
    { "path": "/", "views": 12000 },
    { "path": "/pricing", "views": 5400 },
    { "path": "/docs", "views": 4200 }
  ],
  "traffic_sources": {
    "organic": 45,
    "direct": 25,
    "referral": 18,
    "paid": 12
  }
}

Dashboard Panel

The Web Analytics panel in the Cockpit Dashboard:

┌──────────────────────────────────┐
│ Traffic                    30d ▼ │
│                                  │
│ Sessions: 24.5K  ↑ 7%           │
│ Page Views: 67.8K ↑ 12%         │
│ Bounce: 42%      ↓ 3%           │
│                                  │
│ Top Pages:                       │
│ 1. /              12K views     │
│ 2. /pricing       5.4K views    │
│ 3. /docs           4.2K views   │
└──────────────────────────────────┘

Connect at least one analytics provider (PostHog or GA4) via the Connectors page to populate the analytics panel.

On this page