Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

DTM Direct call inheriting variables set by previous rules

Avatar

Avatar
Validate 1
Level 4
jerome_chevreau
Level 4

Likes

60 likes

Total Posts

33 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 4
jerome_chevreau
Level 4

Likes

60 likes

Total Posts

33 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
jerome_chevreau
Level 4

14-08-2015

Hi,

 

I have noticed that the Direct call has a "bug" as variables which are set on rules which trigger s.tl() persist and get tied up with my direct call rule (i.e. to fire a s.t()).

 

I have been battling trying to find an effective solution to try keep only the variables which are set on the template.

 

The above can be very challenging especially for end users who dont have any developer background. 

 

It would be great to have DTM be more strict in terms of taking the variables which have been set within the tempalte and the editor (i.e. under the analytics tab). If this cannot be done, another option can be to offer the functionality to 'clear variables' when setting up any kind of rules.

 

Thanks

Jerome

2 Comments

Avatar

Avatar
Contributor
Level 4
mikethompson
Level 4

Likes

62 likes

Total Posts

102 posts

Correct Reply

14 solutions
Top badges earned
Contributor
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Contributor
Level 4
mikethompson
Level 4

Likes

62 likes

Total Posts

102 posts

Correct Reply

14 solutions
Top badges earned
Contributor
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
mikethompson
Level 4

26-08-2015

This actually happens if you have multiple s.tl() calls on the page as well and are using the fill-in-the-form option. To get around it, we stopped using the form and have taken to writing custom code for all rules in which we clear out the variables before defining new values.  

 

It would be nice if the form option had a check-box option to clear all variables other than what you are setting.

Avatar

Avatar
Boost 5
Level 2
jchuck5612
Level 2

Likes

7 likes

Total Posts

24 posts

Correct Reply

2 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Applaud 25
View profile

Avatar
Boost 5
Level 2
jchuck5612
Level 2

Likes

7 likes

Total Posts

24 posts

Correct Reply

2 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Applaud 25
View profile
jchuck5612
Level 2

11-06-2016

This limitation has bitten me a couple times and always on SPA's where I need to have link click tracking as well as page loads when the hash changes.