If the syntax is correct, another factor which could prevent the event from being triggered completely is that your Direct Call Rule is setup to fire an "s.tl()" and your custom code is missing 'linktrackevents'.
Hi,Looks like your event script has syntax error.You currently have it implemented as s.event="event1", where-as it should be using s.events.Your script should be s.events="event1".