OpenPanel product analytics plugin fully reviewed, tested, and published. Works with both self-hosted and cloud (openpanel.dev) instances. - 42 tools: event tracking, data export, analytics, project/client management - All tools use public REST APIs (Track, Export, Insights, Manage) - Client modes: write (tracking), read (analytics), root (full access) - Service page with description, setup notes, WordPress plugin download - Dynamic URL hints in Add Site form - 62 unit tests - ENABLED_PLUGINS default now includes openpanel Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
49 lines
960 B
Python
49 lines
960 B
Python
"""
|
|
OpenPanel Handlers — 42 tools across 7 handlers.
|
|
|
|
All tools use public REST APIs (no tRPC/session dependency).
|
|
|
|
Track API (/track) — write mode:
|
|
- events.py: Event tracking, groups (11 tools)
|
|
|
|
Export API (/export) — read mode:
|
|
- export.py: Data export & analytics (10 tools)
|
|
|
|
Insights API (/insights) — read mode:
|
|
- reports.py: Overview & realtime stats (2 tools)
|
|
|
|
Profile API — read mode:
|
|
- profiles.py: Profile events & data export (3 tools)
|
|
|
|
Manage API (/manage) — root mode:
|
|
- projects.py: Project CRUD (5 tools)
|
|
- clients.py: Client CRUD (5 tools)
|
|
|
|
System:
|
|
- system.py: Health & instance info (6 tools)
|
|
|
|
Removed (no public API):
|
|
- dashboards.py (tRPC-only)
|
|
- funnels.py (tRPC-only)
|
|
"""
|
|
|
|
from plugins.openpanel.handlers import (
|
|
clients,
|
|
events,
|
|
export,
|
|
profiles,
|
|
projects,
|
|
reports,
|
|
system,
|
|
)
|
|
|
|
__all__ = [
|
|
"events",
|
|
"export",
|
|
"system",
|
|
"reports",
|
|
"profiles",
|
|
"projects",
|
|
"clients",
|
|
]
|