@botonic/plugin-hubtype-analytics
Version:
Plugin for tracking in the Hubtype backend to see the results in the Hubtype Dashbord
12 lines • 469 B
JavaScript
import { EventAction, EventType } from '../types';
import { HtEvent } from './ht-event';
export class HtEventCustom extends HtEvent {
constructor(event, requestData) {
super(event, requestData);
this.type = EventType.WebEvent;
this.action = EventAction.Custom;
this.custom_fields = event.customFields || {};
this.custom_sensitive_fields = event.customSensitiveFields || {};
}
}
//# sourceMappingURL=ht-event-custom.js.map