hey guys, trying to set up a segment for iOS vs An...
# announcements
h
hey guys, trying to set up a segment for iOS vs Android users in Mixpanel โ€” what would I put in the event condition?
the Mixpanel default $os property breaks down into iOS and iPadOS and I wanted those together so itโ€™s just iOS & Android
f
The event condition supports full javascript, so you can do something like
["iOS", "iPadOS"].includes(event.property.$os)
h
looks right?
f
That looks correct. I haven't tested this particular use case in Mixpanel, so let me know if you run into any issues
๐Ÿ‘ 1