Avatar

Level 10

Hi!

I had the same problem! In my Direct Call Rule, I set up an s.tl() call in the Adobe Analytics section of the rule. I have eVars and props set in the the Global Variables section and I have eVars, props, and events being set in the Custom Code. Yet none of my events in the Custom Code were being included in the analytics call, even though the s.events variable was being correctly valued.

This is how I fixed it

1) in the Custom Code, you can set your s.event in any fashion (either with your s.events=event2 or by using the append function of s.apl()).

2) add this line of code as the last line in your Custom Code --> s.linkTrackEvents=s.events;

And that is it! Save your rule, refresh the web page, go through the steps to trigger the Direct Call Rule, and you should see the events included in your analytics call

HAve a good day -

Sarah