I want to override s.tl() call that dynamic tag manger fires for custom link. I am using event base rule where I choose click event.
In "Adobe Analytics Section", I choose custom link. But, instead of custom link, I want to set certain props. (Since it is being used for Links, I do not want it to be a s.t() call. (No Page View and also no extra tags).
I do that successfully by pluging custom code in the Rule. My code calls function in s_code.js file directly to fire props that I need, but DTM again fires its own s.tl() call.
I'm not sure I fully understand the use case here. An event-based rule can fire either an s.t or s.tl call. When the condition set in the even based rule is met, the variables are set and the beacon is fired.
Is there a reason you can't set the variables within the rule?