@aller/blink
Version:
A library for tracking user behaviour.
14 lines (13 loc) • 397 B
TypeScript
import { BlinkEvent } from '../types';
/**
* Prepares custom data selecting the right
* fields to send to the server
*/
export default function prepareCustomEventsForSending({ page, customDomain, customType, customContent, customValue, time, }: {
page: any;
customDomain: string;
customType: string;
customContent: string;
customValue: any;
time?: Date;
}): BlinkEvent;