Countly is an open source, realtime mobile analytics solution with an enterprise plan. Funnels and segmentation are currently being developed and planned to get ready for mainstream due 1-2 months (advanced segmentations being quite earlier). Check http://count.ly for a list of features and benefits.