UNPKG

@aws-amplify/analytics

Version:

Analytics category of aws-amplify

22 lines (19 loc) 733 B
import '@aws-amplify/core'; import '@aws-amplify/core/internals/utils'; import '../errors/validation.mjs'; import '../utils/eventBuffer/EventBuffer.mjs'; import { enableAnalytics } from '../utils/statusHelpers.mjs'; import '../trackers/EventTracker.mjs'; import '../trackers/PageViewTracker.mjs'; import '../trackers/SessionTracker.mjs'; // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 /** * Enables the Analytics category to permit the transmission of events. * * @note * Analytics is enabled by default. You do not need to call this API unless you have disabled Analytics. */ const enable = enableAnalytics; export { enable }; //# sourceMappingURL=enable.mjs.map