Hierarchy

  • Insights

Constructors

Properties

Accessors

Methods

Constructors

  • Create an Insights object according to configuration with all data from the store which is due for offloading to the server.

    Parameters

    • conf: Configuration

      The current configuration.

    • store: Store

      The current measurement and consents store.

    Returns Insights

Properties

events: EventData[] = []

Event data points.

idsite: number = 0

Matomo site ID.

lang?: string = undefined

Preferred user languages as an HTTP Accept header.

ua?: string = undefined

User Agent string.

visits: VisitData[] = []

Visit data points.

Accessors

Methods

  • Removes all visits and events from the given Store, which are also available in here.

    This should be called, when all Insights were offloaded at the server successfully.

    Parameters

    • store: Store

      The store where the Visits and Events in here came from.

    Returns void

Generated using TypeDoc