Extract google analytics code to a partial