• Configures automatic event tracking for Pinpoint. This API will automatically transmit an analytic event when configured events are detected within your application. This can include: DOM element events (via the event tracker), session events (via the session tracker), and page view events (via the pageView tracker).

    Returns void

    Remark

    Only session tracking is currently supported on React Native.

    Throws

    service: UpdateEndpointException - Thrown when the underlying Pinpoint service returns an error.

    Throws

    validation: AnalyticsValidationErrorCode - Thrown when the provided parameters or library configuration is incorrect.