Added analytics code in the right place