@aller/blink
Version:
A library for tracking user behaviour.
14 lines (13 loc) • 387 B
TypeScript
import { BlinkEvent } from '../types';
import { Page } from '../selectors/get-page-state';
/**
* Prepares click data selecting the right
* fields to send to the server
*/
export default function prepareClicksForSending({ page, url, clickId, externalId, context, }: {
page: Page;
url: string;
externalId: string;
clickId: string;
context: string[];
}): BlinkEvent;