added simple analytics to track activities, more to come