Added analytics header and changed analytics end point