tracklytic
Version:
Tracklytic Client - Real-time event tracking and analytics
22 lines (18 loc) • 430 B
text/typescript
import { TagKey } from './track';
/** Properties Type **/
export type Properties = { [key: TagKey]: string | number | boolean };
/**
* Options for publishing Tracklytic identify
*/
export interface IdentifyOptions {
/**
* User ID
* example: "user_123"
*/
user_id: string;
/**
* User properties
* example: { name: "John Doe", email: "john@example.com", plan: "premium" }
*/
properties: Properties;
}