Working version of analytics with tracker.