OptionalbatchOptionalbatchFlush callback when this many events have accumulated (batching).
OptionaldomInclude full DOM ancestor path in serialized elements (e.g. " > html > body > div > button"). Default: false — DOM traversal is synchronous and expensive on deep trees. Results are cached per-element via WeakMap, so repeated clicks on the same target are cheap.
OptionaldomInclude element bounding box via getBoundingClientRect() in serialized elements. Default: false — forces a synchronous layout reflow on every event.
OptionaleventsWhitelist of event type strings to track. Empty / omitted = all events enabled.
Flush callback every N milliseconds (batching).