1. Track displays and dismiss of In-App messages in the app
First, you need to implement Batch's event dispatcher. That component will automatically pass analytics events to Firebase or Google Analytics:
In case you are using both solutions, you can simply integrate the Firebase event dispatcher and link Firebase to Google Analytics. Batch analytics events (e.g. In-App displayed, closed, button clicked, etc) will be shared with Google Analytics automatically (see more here).
2. Add a tracking ID to your campaign
The message identifier will be the tracking ID you can fill in the campaign's creation form.