updated GA code to do event tracking