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).
Parameters
input: AnalyticsConfigureAutoTrackInput
Returns void
Deprecated
AWS will end support for Amazon Pinpoint on October 30, 2026.
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.
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
eventtracker), session events (via thesessiontracker), and page view events (via thepageViewtracker).