Use custom keys to send extra data along with a push notification. You can use custom keys to add tracking or additional functionality to your app. For example, you can define a custom key that allows a third-party application to provide custom tracking information regarding customer usage on your mobile app. This data can include an ID value used by the app to retrieve additional data or other function. You must enable this feature in the Marketing Cloud application.

To implement custom key support in your application, extend your push notification handler to extract the push’s userInfo dictionary and the values contained in it.