add analytics and tracker