The tracker type.
Trackers can either be classes:
export class MyTracker implements DaffAnalyticsTracker {
track(event: DaffAnalyticsEvent) {
return of(true);
}
}
or functions:
export const trackThis = (event: DaffAnalyticsEvent) => {
return of(true);
}
Type | Options |
---|---|
DaffAnalyticsTracker |
|