askrobots / dbbasic-object-server
Public
Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.
danq9
signup: the person chooses the password and name on the confirm page
83c7aa6
2 weeks, 5 days ago
History
conversions.json · 1.0 KB · 20 lines
| 1 | { |
| 2 | "name": "conversions", |
| 3 | "title": "Conversions", |
| 4 | "version": 1, |
| 5 | "description": "Goal/conversion events (q9 analytics parity): an app records one row when something worth counting happens (signup, purchase, form submit) -- event_type + optional session/user + a JSON metadata blob. append storage, admin-read; a rollup can group_by event_type for a funnel. Recorded server-side by whatever app owns the goal (generic create), never a public write. See app-analytics.", |
| 6 | "storage": "append", |
| 7 | "fields": [ |
| 8 | { "name": "id" }, |
| 9 | { "name": "event_type", "type": "text", "required": true, "label": "Event" }, |
| 10 | { "name": "session_id", "type": "text", "label": "Session" }, |
| 11 | { "name": "user_id", "type": "text", "label": "User" }, |
| 12 | { "name": "metadata", "type": "text", "label": "Metadata" }, |
| 13 | { "name": "created_at", "type": "datetime", "read_only": true, "label": "Time" } |
| 14 | ], |
| 15 | "views": { |
| 16 | "list_mode": "table", |
| 17 | "list_fields": ["created_at", "event_type", "session_id"] |
| 18 | }, |
| 19 | "search": { "fields": ["event_type"] } |
| 20 | } |