We would like to track user sessions on a customer's app using the marketing cloud SDK, but after digging on the internet I haven't find a way to do so.
Is it possible?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityWe would like to track user sessions on a customer's app using the marketing cloud SDK, but after digging on the internet I haven't find a way to do so.
Is it possible?
Last Application Open
and Last Message Open
are part of the Mobile Push data model. You can check the list of all available attributes by going to Data Designer > Mobile Push Data.
From the send reports, you can also have Time in App
when a Push notification is opened.
But if you are looking for more detailed session data, I would suggest that you extend the Mobile Push data model using custom attributes & tags updated directly from the App using custom code.
If you're using this for MobilePush segmentation and audience, you should use attributes or tags - that should allow you to accomplish mapping your user's "profile" state to something in Marketing Cloud (if, of course, you are using the MobilePush SDK).