updated the event tracker
moved google analytics code inside onpageload