debug(isDebug: boolean)

To debug data reporting, you can enable debug mode by calling window.ASPixel.debug() in the browser's console. When debug mode is active, events will not be sent to AfterShip; instead, the event data will be displayed in the console.

FieldTypeRequired?Description
isDebugBoolean✔true to enable debug mode.false to disable debug mode.
// To enable the debug mode. ASPixel.debug(true); // To disable the debug mode. ASPixel.debug(false);