BlockSuite API Documentation / @blocksuite/blocks / TelemetryService
Interface: TelemetryService
Methods
track()
track<
T
>(eventName
,props
):void
Type Parameters
• T extends keyof DatabaseAllSortEvents | "DatabaseSortClear"
| LinkEventType
| "AddDatabase"
| "Link"
| "DocCreated"
| "LinkedDocCreated"
| "SplitNote"
| "CanvasElementAdded"
| "EdgelessElementLocked"
| "ExpandedAndCollapsed"
| "AttachmentUploadedEvent"
Parameters
eventName
T
props
Returns
void
Defined in
packages/affine/shared/dist/services/telemetry-service/telemetry-service.d.ts:15