Updated event tracking code for outbound links