changing location of analytics code snippet