Skip to main content
Version: Next

NoAnalytics

noAnalytics

Signals commandkit to not track further analytics events within current context. This is useful for scenarios where you want to disable analytics tracking for a specific command or operation, such as during testing or when the user opts out.

Example

import { noAnalytics } from 'commandkit/analytics';

// inside commandkit context
noAnalytics();
Signature
function noAnalytics(): void