@botonic/plugin-hubtype-analytics
Version:
Plugin for tracking in the Hubtype backend to see the results in the Hubtype Dashbord
16 lines • 627 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.HtEventCustom = void 0;
const types_1 = require("../types");
const ht_event_1 = require("./ht-event");
class HtEventCustom extends ht_event_1.HtEvent {
constructor(event, requestData) {
super(event, requestData);
this.type = types_1.EventType.WebEvent;
this.action = types_1.EventAction.Custom;
this.custom_fields = event.customFields || {};
this.custom_sensitive_fields = event.customSensitiveFields || {};
}
}
exports.HtEventCustom = HtEventCustom;
//# sourceMappingURL=ht-event-custom.js.map