Have you tried just Google Analytics? Or Splunk for log analysis? Walter
OK, then, you're set
I mean, consider it writing a feature that is "tracking use of features". It seems similar in concept to integrated A/B testing, and I imagine there are gems for that you could use for ideas.
HTH!