Adding analytics to header.