Moved Analytics to Head for performance and better tracking.