UNPKG

@aller/blink

Version:

A library for tracking user behaviour.

14 lines (13 loc) 406 B
import { BlinkEvent } from '../types'; import { Page } from '../selectors/get-page-state'; /** * Prepares a raw impression by aggregating its fields so that * it can be sent to the server in the format aas expects. */ export default function prepareBoxEvent({ page, id, title, height, width, }: { page: Page; id: string; title: string; height: number; width: number; }): BlinkEvent;