Skip to main content
Level 2
8月 17, 2017 3:50 午後 UTC

s.linkTrackEvents value changing when s.tl() call happens

Hi.  I have an event based rule set up in DTM that needs to append a serialization string to an event.  To do this, I have tried this via the DTM UI as well as with custom Javascript within the rule.  In both cases I run into the same problem.  Basically, the value in s.linkTrackEvents is overwritten with a copy of what is in s.events.  So, for example, the variables going into the s.tl() call are:

s.events='event99:12345';

s.linkTrackVars='events';

s.linkTrackEvents='event99';

When the s.tl() call happens (with the debugger running), s.linkTrackEvents shows as: s.linkTrackEvents='event99:12345';

This also happens if I use the DTM UI to set the event and place a serialization value.

When s.linkTrackEvents includes the serialization value on the event, the event does not get set in the tracking call.  I've debugged the code, and the variables are all set correctly going into the s.tl() call.

One other piece of info, we are using a a different s object (s_dtm).

Thanks for any help.

このトピックへの返信は締め切られました。

6 の返信

marion33678522
Level 5
8月 17, 2017 4:20 午後 UTC

I had the same problem a while ago.


Did you try declaring the s.linkTrackVars and the s.linkTrackEvents before declaring the s.events as it follows?

s.linkTrackVars='events';

s.linkTrackEvents='event99';

s.events='event99:12345';

Kind regards !

Cheers,

MArio

翻訳
kbridges作成者
Level 2
8月 17, 2017 4:27 午後 UTC

Hi Mario, thanks for the feedback.

I did try changing the order, but nothing fixed the problem.

Kevin

翻訳
EricMatisoff
Adobe Employee
Adobe Employee
8月 17, 2017 6:49 午後 UTC

This may be an obvious idea that you've already tried, but since you're using a non-standard s object, did you use it in your JS? like:

翻訳