added analytics to header