add analytics code to homework header