added analytics tracking on index, details, profile, and submit pages