Documentation Index
Fetch the complete documentation index at: https://moengage-crashes-in-debug-feedback.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
SDK adheres to the MoEngage FUP policies. For more information, refer to the Fair Usage Policy.
Purchase event. We are including attributes such as the quantity, product name that describes the event we are tracking.
Analytics
MoEngage SDK version 9.7.01 and later tracks user session and application traffic source. User session tracking provides the flexibility to selectively mark events as non-interactive.Non-interactive event
Events that do not affect the session duration calculation in MoEngage Analytics are marked as Non-Interactive events. The following are considered non-interactive events:- Do not start a new session, even when the app is in the foreground
- Do not extend the session
- Do not have information on source and session
Validations and restrictions
Event attributes have two layers of validation that apply across both debug and release builds:- Naming and format rules — these always apply, regardless of build configuration.
- Type validation — invalid attribute values cause a fatal exception in debug builds and are silently dropped from the payload in release builds. The rest of the event is tracked.
Naming and format rules
- Reserved prefixes. You cannot use
moe_as a prefix when naming events, event attributes, or user attributes. It is a system prefix, and using it might result in periodic blocklisting without prior communication.
Supported attribute value types
MoEngage supports the following data types:String, Integer, Long, Double, Float, Boolean, Date, GeoLocation, JSONObject, and JSONArray. If an unsupported value is passed:
- Starting from SDK version 13.6.00, in debug builds the SDK throws an exception and crashes the app to surface data issues early in development.
- In release builds, the SDK silently drops the specific invalid attribute and logs the issue. The rest of the event payload is still tracked.
Track Custom Event for Exit Intent
MoEngage SDK optionally notifies the application whenever the goes to the background. The application can track the custom event in this callback for exit intent. To get notified implement the AppBackgroundListener. Register the listener in the onCreate() of your Application class using MoECallbacks.getInstance().addAppBackgroundListener().You can not use “moe_” as a prefix while naming events, event attributes, or user attributes. It is a system prefix and using it might result in periodic blacklisting without prior communication.