DTM: Adobe Analytics custom page code with s.tl calls

Avatar

Avatar

joshd7227840

MVP

Avatar

joshd7227840

MVP

joshd7227840
MVP

15-10-2015

When I setup a rule and go to my Adobe Analytics section, and specify it to be triggered as an s.tl call, there is a problem with using the custom code section.  Apparently DTM seems to be overwriting s.linkTrackVars and s.linkTrackEvents so I cannot populate any Adobe Analytics variables from there.  

View Entire Topic

Avatar

Avatar

julià_pujol_ar1

Avatar

julià_pujol_ar1

julià_pujol_ar1

15-10-2015

Hi,

I'd like to reopen this matter, so seems that the behaviour of s.tl() calls on Direct Call Rules still being strange. If I want to use UI interface + Custom Code (is more clean gather on UI a general evars/props/events/predefinedVars), 'events' and eVars are automatically added on s.licktrackvars, so if on custom code I add another extra, for instance a prop, simply it is added on array, so far everything correct.

The problem is when s.linktrackevents comes to action, if I'm having an event set up on UI, and then I want to add another on Custom Code, s.linktrackevents were overwritten. It isn't a huge issue, so through s.apl pluggin I can fix it, but would be good if you can clarify the exacte steps to do for that these are clear for everyone.

Also I'd like to execute s.linktrackevents/vars on console, since now appears None (althrough DTM debugger printing it).

I hope get an answer from you,

Julià.

Below images:

[img]Screen Shot 2014-11-23 at 23.30.06.png[/img]

[img]Screen Shot 2014-11-23 at 23.30.21.png[/img]