@mediafly/frontend-api - v20.4.1
    Preparing search index...

    Function postEvent

    • Posts an arbitrary application event for use by internal analytics.

      Parameters

      • key: string

        The event key is used to distinguish events. For example: COLLECTION_VIEW

      • data: string | { [key: string]: unknown }

        An object containing an arbitrary collection of properties. Used to provide additional details for the event. Note that this will be serialized into a string before passing it up to the api.

      Returns Promise<void>