add analytics and modified event box layout