title: Best way to track users for analytics? - Mobile
body: <p>This is more of a conceptual question than a specific code question.  </p>
  
  <p>Right I am developing a mobile app and am trying to figure out the best way to track data.  What I mean by this is:</p>
  
  <p>For every user that signs up I want them to have custom analytics for their accounts based off of the users interactions with them.  </p>
  
  <p>For example if it was Facebook:
  We have 3 user profiles (a,b,c)
  I need to know every time a user visits profile A (basic count)
  I need to know every time a user visits profile B (basic count)
  I need to know every time a user visits profile C (basic count)</p>
  
  <p>I then need to return these values via reports to users A,B,C about their accounts.</p>
  
  <p>I was thinking of keeping a tracking structure in my SQL database then generating reports from that.  Is this the best way to do it or are there other ways of tracking/storing/reporting data for mobile applications?  I was looking into google analytics and stuff but how would I get reports specific to their accounts (filters) then manipulate that data so I can repost it through my website portal for them to log into their account to see?  </p>