better event firing for google analytics