Capture records an event. orgID attributes the event to an org via group analytics; an empty orgID falls back to a non-org distinct_id and omits the group (e.g. standalone single-tenant mode). props may be nil.
(event, orgID string, props map[string]any)
| 34 | // analytics; an empty orgID falls back to a non-org distinct_id and omits |
| 35 | // the group (e.g. standalone single-tenant mode). props may be nil. |
| 36 | Capture(event, orgID string, props map[string]any) |
| 37 | // Close flushes any buffered events. Safe to call multiple times. |
| 38 | Close() |
| 39 | } |
no outgoing calls