Should I use ready solution like mixpanel.com? Or should I build it myself?

How do you build it yourself to ensure accurate data reporting?

Thanks.