added analytics code
Merge pull request #4 from uclaradio/analytics

added analytics code