UNPKG

910 BTypeScriptView Raw
1import { ConfigureAutoTrackInput } from '../types';
2/**
3 * Configures automatic event tracking for Pinpoint. This API will automatically transmit an analytic event when
4 * configured events are detected within your application. This can include: DOM element events (via the `event`
5 * tracker), session events (via the `session` tracker), and page view events (via the `pageView` tracker).
6 *
7 * @remark Only session tracking is currently supported on React Native.
8 *
9 * @param {ConfigureAutoTrackInput} params The input object to configure auto track behavior.
10 *
11 * @throws service: {@link UpdateEndpointException} - Thrown when the underlying Pinpoint service returns an error.
12 * @throws validation: {@link AnalyticsValidationErrorCode} - Thrown when the provided parameters or library
13 * configuration is incorrect.
14 */
15export declare const configureAutoTrack: (input: ConfigureAutoTrackInput) => void;