Reference
Remy Reference/interface/analytics.track
?

analytics.track

Records a custom event, beside the pageviews and errors captured automatically.
analytics.track(name, props?) → void

Records a named event to the app's free analytics dashboard, alongside the automatically captured pageviews, uncaught errors, and unhandled rejections. Props must be flat primitives (string, number, or boolean); nested values are stripped before send, and the server caps the name at 200 characters and the props at ten keys. The call is best-effort: it never throws and never blocks.

Parameters
name
string
RequiredEvent name; capped at 200 characters.
props
CustomEventProps
A flat map of primitive values (string, number, or boolean); up to 10 keys.
Usage
import { analytics } from '@mindstudio-ai/interface';

analytics.track('checkout_completed', { itemCount: 3, total: 47.99 });