Skip to main content
Tip

Boolean Properties? Just Don't.

  • September 10, 2024
  • 0 replies
  • 51 views

Amplitude Admin
Community Manager
Forum|alt.badge.img+9

 

Boolean properties are good: True or false? According to Thora Gudfinnsdottir, Product at Avo, they’re best avoided. “If anyone ever creates a boolean property in our tracking plan, I will not be happy. Maybe even mad.”

Here’s why:

“When you start a product you maybe only have one authentication method and that's email and then you don't need a property for which method it is. Then you add facebook and then you add the property used facebook: true or false. And then you add google and then you have to add used google. And then you add github and then you have to add used github. So this doesn't scale. Then you have so many properties that are describing the same thing.”

This is a snippet from Tracking Plan Tips: Event and Property Recommendations an Office Hours session with Thora Gudfinnsdottir and Anuj Sharma, discussing data design, data governance, and tracking plan best practices.

Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings