add analytics code back