If the $ae_session property is not tracked by the iOS or Android SDK, is there a way to force it to be tracked or is there an alternative to get the number of daily sessions from the API without implementing a custom event?
Hi Alessandro M., Please stand by as I search the Mixpanel knowledge base for an AI-powered answer. I normally take about 15 seconds or so. In case AI cannot answer your question, feel free to reach out to Mixpanel support at mixpanel.com/get-support. If you have follow-up questions for this thread, please tag me again with your question: @kapa.ai <follow-up question> đź‘‹
Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai
The $ae_session
property is part of the legacy features of Mixpanel's SDKs for both iOS and Android. This property is automatically tracked when a user spends more than 10 seconds in the app. It also tracks two user properties: Total App Sessions ($ae_total_app_sessions
) and Total App Session Length ($ae_total_app_session_length
).However, Mixpanel does not recommend enabling these legacy features as they rely on client-side state and can be unreliable. Instead, they suggest tracking server-side. If you still want to enable this feature, you can do so by turning the flag trackAutomaticEvents: true
when initializing Mixpanel as mentioned in the Flutter SDK documentation.If the $ae_session
property is not being tracked, it might be due to the legacy feature being disabled. If you want to track the number of daily sessions without implementing a custom event, you might need to enable this legacy feature.Remember, it's always a good idea to test and monitor the performance of these features before enabling them for a large audience.
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.