You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sending an event with a boolean property that can have the value of true or false, the property is shown when there is true value on the property and is not shown when it’s false.
For instance, I have an event called ‘Test event’ and a db property test_property that has a boolean value (true or false).
Unit testing is working in a case when test_property is false, but when I go to Mixpanel Live view and check the event the property is not there. It only shows it when it is true.
The text was updated successfully, but these errors were encountered:
This causes properties with false, 0 and '0' values not shown in the event detail which creates confusion in the team like is it because the events are sent wrong or the value was filtered out.
Also, it'd make it impossible to analyze props with 0 values I think.
Even filtering out nulls and empty strings might make sense, I believe the data should not be filtered out at all and the developer should have the freedom to decide on that.
When sending an event with a boolean property that can have the value of true or false, the property is shown when there is true value on the property and is not shown when it’s false.
For instance, I have an event called ‘Test event’ and a db property test_property that has a boolean value (true or false).
$this->mixPanelClient->track("Test event", ['Test property' => is_null($test_property) ?: false]);
Unit testing is working in a case when test_property is false, but when I go to Mixpanel Live view and check the event the property is not there. It only shows it when it is true.
The text was updated successfully, but these errors were encountered: