update analytics code; tweak html