@aws-amplify/analytics
Version:
Analytics category of aws-amplify
23 lines (20 loc) • 830 B
JavaScript
import '@aws-amplify/core';
import '@aws-amplify/core/internals/utils';
import '../errors/validation.mjs';
import '../utils/eventBuffer/EventBuffer.mjs';
import { disableAnalytics } 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
/**
* Disables the Analytics category.
*
* @note
* When Analytics is disabled events will not be buffered or transmitted to your selected service. Any auto-tracking
* behavior that you have configured via `configureAutoTrack` will not have any effect while Analytics is disabled.
*/
const disable = disableAnalytics;
export { disable };
//# sourceMappingURL=disable.mjs.map