I have a property value = 15.00.4280 and when I am sending this to MixPanel it is automatically getting converted to date format with a value = Thu, Apr 27, 2102 4:27 PM. How can I solve this?
Hi Saransh C., 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
It seems like the property value you're sending to Mixpanel is being interpreted as a Date data type, possibly due to the format of the value. Mixpanel supports five data types for properties: String, Numeric, Boolean, Date, and List. For Numeric data type, it should be a numeric (integer or decimal) value e.g. Cost = 15.00, Quantity = 5. If the value you're sending doesn't match these formats, it might be interpreted as a different data type, in your case, a Date.To solve this, you should ensure that the property value you're sending matches the expected format for the Numeric data type. If the value is meant to be a number, it should not contain any non-numeric characters. If the value is meant to be a string, you should send it as a string to prevent Mixpanel from interpreting it as a date.If you're still facing issues, you might want to consider typecasting the property value. Mixpanel allows you to force properties into another data type using the "Data Type" option in the overflow menu for property filters and breakdowns. This can be helpful when a property is a number but is sent to Mixpanel as a string and you want to see histogram data for that property, or if a property is a unix timestamp and got sent as a number, and you want it to be treated as a date property instead.For more information, you can refer to the Mixpanel documentation on Supported Properties Data Type and Typecasting.
kapa.ai is still learning and improving, please let me know how I did by reacting below.
⤵️ Hint: Mention @kapa.ai in the thread for follow-ups.