Move analytics code to bottom of body.