Skip to main content
All CollectionsGDPR & Data PrivacyData Collection
What is the difference between labels and custom data in event tracking?
What is the difference between labels and custom data in event tracking?

Events allow you to track the actions your users make in the app. Each event can have a label and several attributes attached to it.

Claire avatar
Written by Claire
Updated over a year ago

Events can have a Label and a Custom Data object attached to them. Both can be later used for three purposes : 

  • Improve your user segmentation (know more)

  • Trigger a push campaign on a specific action (know more)

  • Trigger an In-App message on a specific action (know more

1. Labels

Labels are a simple way to attach an extra piece of 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 a push campaign:

Or else, as an additional filter to trigger an In-App campaign:

You will find more information on labels here: iOS / Android / Cordova / Flutter / React Native

2. Custom Data

In case you need to send more information on a user action, you can also attach up to 15 attributes and a tag collection (containing up to 10 values) to your event. 

This is useful when you need to collect several pieces of 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

  • Duration

Data sent in that format will be useful to improve your campaign's targeting and to add an additional filter to trigger a push campaign, but you won't be able to use them as an additional filter to trigger In-App messages.

You will find more information on custom data tracking here: iOS / Android / Cordova / Flutter / React Native

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?


This article belongs to Batch's FAQ. Need more help? Find insightful articles, documentation, case & market studies, guides, and even more in our website's Resources section on batch.com and our blog.

Did this answer your question?