logEvent()

Logs a custom event to the widget’s analytics system. The event must include a string type and, optionally, an object data payload.

Signature


Parameters

customEvent.type string
The name of the custom event. Must be a string.
customEvent.data object (optional)
Additional data to attach to the event. Must be an object (not an array).

Returns

None

Example

MarkerKit VCC

UIC 208561215

Registered in Sofia, Bulgaria.

The interactive layer for maps,
floor plans, and diagrams.
© 2025 MarkerKit