adding google analytics and events