I've some ajax pages on my site and I'm using direct call rule to track them. On some of the direct call rule I added some page / step specific events but these events are getting overridden by the event set ( which s.events="event4="+s_getLoadTime();) in the core appmeasurement.js. The specific events in the direct call rules get tracked if I remove s.events="event4="+s_getLoadTime(); from appmeasurment.js. Is there any workaround for this. or Is there a way to tell DTM to prioritize the events set in the direct call rule over the JS settings and override the JS events (s.events="event4="+s_getLoadTime();)?
Yes, as I said if remove s.events from appmeasurment.js , then the direct call rule event works. However, I now used the s.events with s.apl plugin in the appmeasurement.js and the direct call rule events aren't getting overridden any more. My issue is resolved and everything is being tracked with this solution but posting it here for the information of the others if anyone is experiencing similar issue.