Moved analytics to header