in src/shippers/fullstory/src/fullstory_shipper.ts [234:247]
public reportEvents(events: Event[]): void {
this.initContext.logger.debug(`Reporting ${events.length} events to FS`);
events
.filter((event) => this.eventTypesAllowlist?.includes(event.event_type) ?? true)
.forEach((event) => {
// We only read event.properties and discard the rest because the context is already sent in the other APIs.
const { properties, schema } = getPropertiesAndSchema(event.properties);
this.fullStoryApi('trackEvent', {
name: event.event_type,
properties,
schema,
});
});
}