Added event tracking to google analytics