adding some analytics tracking