Events can have a Label and a Custom Data object attached to them. Both can be later used for two purposes :
- Improve your user segmentation (know more)
- Trigger an In-App message on a specific action (know more)
Labels are a simple way to attach an extra information to an event. For example, a common case is the name of the visited screen attached as a label to a "visited_screen" event.
You can use labels to improve your user segmentation:
Or as an additional filter, to trigger an In-App campaign:
2. Custom Data
In case you need to send more information on a user action, you can also attach up to 10 attributes and a tag collection (containing up to 10 values) to your event.
This is useful when you need to collect several information on the same action. For example, if your app is selling package holidays, you probably want to track the following information each time users search for an offer:
- Departure city
- Arrival city
- Type of holiday
Data sent in that format will be useful to improve your campaigns targeting, but you won't be able to use them as an additional filters to trigger In-App messages.
You will find more information on custom data tracking here: iOS / Android / Cordova
Need help testing your integration?
You can use the debug tool to check the data Batch has on your install and make sure you have tagged your app correctly: How can I see the data attached to my install or user ID?