Page updated Jan 16, 2024

Enable and disable analytics

Disable Analytics

Analytics is enabled by default when you configure it in your app. To disable Analytics in your app use the disable function:

// to disable Analytics Analytics.disable();
1// to disable Analytics
2Analytics.disable();

Enable Analytics

To enable analytics you can use the enable function in your app:

// to enable Analytics Analytics.enable();
1// to enable Analytics
2Analytics.enable();