Features
Web Analytics
GA4 and PostHog integration for traffic, funnels, top pages, daily trends, and geographic data.
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
| Source | What It Provides | Connector |
|---|---|---|
| PostHog | Product analytics, funnels, feature flags | PostHog connector |
| GA4 | Website traffic, top pages, traffic sources | GA4 connector |
Both can be connected simultaneously — the dashboard merges data from both sources. Connect at least one via the Connectors page in the Cockpit.
Metrics
| Metric | Description |
|---|---|
| Sessions | Total user sessions in period |
| Page Views | Total page views |
| Bounce Rate | Percentage of single-page sessions |
| Avg. Session Duration | Mean time on site |
| Top Pages | Most visited pages ranked by views |
| Traffic Sources | Where visitors come from (organic, paid, direct, referral) |
| Geographic Data | Visitor locations by country and city |
| Funnels | Multi-step conversion funnels |
| Errors | JavaScript errors and failed requests |
Dashboard
The Web Analytics panel on the Dashboard shows:
- Sessions and page views with percentage change vs previous period
- Bounce rate trending direction
- Top pages ranked by views
- Traffic source breakdown — organic, direct, referral, paid
┌──────────────────────────────────┐
│ 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 │
└──────────────────────────────────┘Agent Tools
Agents access analytics through the reeve_analytics tool:
// Overall summary — sessions, page views, bounce rate
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
{
"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
}
}Time Periods
All actions accept a period parameter:
| Period | Meaning |
|---|---|
7d | Last 7 days |
30d | Last 30 days |
90d | Last 90 days |
1y | Last year |
Example Conversations
- "How's our website traffic this month?"
- "What are our top 10 pages by views?"
- "Where is our traffic coming from — organic vs paid?"
- "Show me the conversion funnel for the last week."
- "Which countries are our visitors from?"
- "Are there any JavaScript errors spiking?"
Combining with Other Data
Web analytics pairs well with other connected sources:
- Revenue Analytics — Correlate traffic trends with revenue changes
- Ad Management — See how paid campaigns drive traffic
- Shopify — Connect store traffic to conversion data
Connect at least one analytics provider (PostHog or GA4) via the Connectors page to populate the analytics panel.