moved ga code to header, as per google recommendation