AnalyticsTracker
Home > @backstage/core-plugin-api
> AnalyticsTracker
Represents a tracker with methods that can be called to track events in a configured analytics service.
Signature:
export type AnalyticsTracker = {
captureEvent: (action: string, subject: string, options?: {
value?: number;
attributes?: AnalyticsEventAttributes;
}) => void;
};
References: AnalyticsEventAttributes