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.
conversions.json · 1.2 KB · 21 lines
| 1 | { |
| 2 | "name": "conversions", |
| 3 | "subject_exempt": "Conversion rows recorded by a back-office transition carry no identity at all. Rows that DO name the subject -- by account id, or by naming one of their own orders or invoices -- are included in the export.", |
| 4 | "title": "Conversions", |
| 5 | "version": 1, |
| 6 | "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.", |
| 7 | "storage": "append", |
| 8 | "fields": [ |
| 9 | { "name": "id" }, |
| 10 | { "name": "event_type", "type": "text", "required": true, "label": "Event" }, |
| 11 | { "name": "session_id", "type": "text", "label": "Session" }, |
| 12 | { "name": "user_id", "type": "text", "label": "User" }, |
| 13 | { "name": "metadata", "type": "text", "label": "Metadata" }, |
| 14 | { "name": "created_at", "type": "datetime", "read_only": true, "label": "Time" } |
| 15 | ], |
| 16 | "views": { |
| 17 | "list_mode": "table", |
| 18 | "list_fields": ["created_at", "event_type", "session_id"] |
| 19 | }, |
| 20 | "search": { "fields": ["event_type"] } |
| 21 | } |