adding analytics just before head tag