Analytics & Error Reporting

By default, the Swing SDK will automatically send analytics and error reports to our monitoring platform. You can disable this behavior by setting the analytics option to true when initializing the SDK.

import { SwingSDK } from '';
const swingSDK = new SwingSDK({
  // Your Swing Platform project identifier
  projectId: 'swing-project-id',
  // Disable analytics and error reporting
  analytics: false,