Cleaned up analytics code to make it look consistent on all pages