Status: AcceptedDocumentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
Date: 2025-12-05
Decision Makers: Platform Architecture Team
Context
The platform has two specifications for form analytics:- PF-09: Form Analytics & Usage Insights - Platform-level analytics (implemented)
- FW-27: Form Analytics & Insights - Advanced form analytics (spec complete)
Decision
FW-27 EXTENDS PF-09, not replaces it.Architecture
Ownership
| Capability | Owner | Spec |
|---|---|---|
| Event tracking infrastructure | Platform Foundation | PF-09 |
| Basic completion metrics | Platform Foundation | PF-09 |
| Field interaction stats | Platform Foundation | PF-09 |
| Analytics dashboard (basic) | Platform Foundation | PF-09 |
| A/B Testing | Forms & Workflow | FW-27 |
| Drop-off funnel visualization | Forms & Workflow | FW-27 |
| Multi-page analytics | Forms & Workflow | FW-27 |
| Advanced segmentation | Forms & Workflow | FW-27 |
| Performance percentiles | Forms & Workflow | FW-27 |
Rationale
Why Two Specs?
- Platform vs. Domain Ownership: PF-09 provides infrastructure that ANY module can use. FW-27 provides Forms-specific advanced features.
- Implementation Timeline: PF-09 can be implemented first as foundation. FW-27 is additive and optional.
-
Code Location: PF-09 code lives in
src/platform/analytics/. FW-27 code lives insrc/cores/fw/components/analytics/.
Why Not Merge?
- Different Audiences: PF-09 serves platform admins. FW-27 serves form designers and optimization teams.
- Different Complexity: PF-09 is straightforward aggregation. FW-27 includes statistical significance testing, traffic splitting, etc.
- Optional Adoption: Organizations can use PF-09 without needing FW-27’s A/B testing complexity.
Consequences
Positive
- Clear ownership boundaries
- Incremental implementation path
- Reusable analytics infrastructure
- Forms team can innovate without platform changes
Negative
- Two tables for form analytics (some redundancy)
- Need to document relationship clearly
- FW-27 depends on PF-09 being implemented first
Mitigations
- FW-27 spec updated with explicit PF-09 relationship section
- This ADR documents the decision
- Cross-references added to both specs