When an event property has an optional value, is it better to send the event without the property or with the property with an empty value ?
Hi Jalil K., 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
When an event property has an optional value, Mixpanel generally recommends that if the property is unavailable (e.g., null, N/A, or an empty string ""), you should not send the property at all with the event or user profile. This approach helps ensure data quality and avoids cluttering your data with meaningless or ambiguous values. If you do send the property with an empty value, it will appear as (empty string)
in the UI, and if you send it as null or undefined, it will show as (not set)
or undefined
in reports. Not sending the property is the preferred method for representing unavailable or not-applicable values Tracking Plan Methodology.> “If certain property values (eg null, N/A, "" - empty string) are essentially considered unavailable, Mixpanel generally recommends that for those instances the property should not be sent with the event or user profile.”
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.