You want your feature flags and product analytics working together
mixpanel.com