Updating GA code for event tracking