Move analytics code position