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

Adobe DTM: Multiple Event rule in a page having issue

Avatar

Avatar
Validate 10
Level 2
vidyar30267388
Level 2

Likes

3 likes

Total Posts

56 posts

Correct Reply

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

Avatar
Validate 10
Level 2
vidyar30267388
Level 2

Likes

3 likes

Total Posts

56 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
vidyar30267388
Level 2

15-10-2015

I have created 3 different event based rule in a page to track 3 different buttons in a page. When i click on the 1st link it is fine. But when the 2nd link is clicked it fires 2 times with the value i set for the 1st button and the current button. When i click the 3rd button it fires again 2 times with the previous click event and the present one. Can you please let me know how to stop this? It is very urgent as this has to go live today. Quick reply is greatly appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct Reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct Reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
ParitMittal
Level 10

16-05-2016

Hi Vidya,

Please set the tracking as per the below code and Let me know if it solves the purpose.

   s.linkTrackVars="eVar58,events";
    s.linkTrackEvent="event20";
    s.events="event20";
    s.eVar58="xsxsxsxsx";
    // run tracker
    s.tl(this,'o',eventLabel);
    // reset vars
    s.linkTrackVars="None";
    s.linkTrackEvent="None";
    s.eVar58="";
    s.events="";

Thanks & Regards

Parit Mittal

Answers (8)

Answers (8)

Avatar

Avatar
Validate 10
Level 2
vidyar30267388
Level 2

Likes

3 likes

Total Posts

56 posts

Correct Reply

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

Avatar
Validate 10
Level 2
vidyar30267388
Level 2

Likes

3 likes

Total Posts

56 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
vidyar30267388
Level 2

16-05-2016

Thanks, This is working. Please close the issue. 

Avatar

Avatar
Validate 10
Level 2
vidyar30267388
Level 2

Likes

3 likes

Total Posts

56 posts

Correct Reply

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

Avatar
Validate 10
Level 2
vidyar30267388
Level 2

Likes

3 likes

Total Posts

56 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
vidyar30267388
Level 2

16-05-2016

Hi Parit,

I couldn't fix this issue as clearvar() (we haven't moved to appmeasurement yet) didn't work. So i removed multiple events and kept only the single event. 

Please let me know if you have any other solution. Because this is the common error we see in the page hence i am maintaining single custom tracking in a page which is not the preferred solution.

Regards,

Vidya

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct Reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct Reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
ParitMittal
Level 10

16-05-2016

Hi Vidya ,

Are you still facing the issues. If yes, Please let us know.

Thanks & Regards

Parit Mittal

Avatar

Avatar
Validate 10
Level 2
vidyar30267388
Level 2

Likes

3 likes

Total Posts

56 posts

Correct Reply

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

Avatar
Validate 10
Level 2
vidyar30267388
Level 2

Likes

3 likes

Total Posts

56 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
vidyar30267388
Level 2

15-10-2015

This is the custom code that I have used in DTM under 3rd party scripts.

s.eVar45 = "DF: Play Video";
s.events = "event5";
s.linkTrackVars = "events,eVar45"
s.linkTrackEvents = "event5";
s.tl(this,'o','SS: ' + s.eVar45);

If I add s.linkTrackVars = "none"; and s.linkTrackEvents = "none"  at the starting it is not working. Can you please let me know what is the issue?

Avatar

Avatar
Boost 50
Employee
Kaushalendra
Employee

Likes

65 likes

Total Posts

142 posts

Correct Reply

69 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Employee
Kaushalendra
Employee

Likes

65 likes

Total Posts

142 posts

Correct Reply

69 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Kaushalendra
Employee

15-10-2015

Hi Vidya,

In case you are using H Code you would have to write a simple function to set variable to an empty string.

~Kaushal

Avatar

Avatar
Validate 10
Level 2
vidyar30267388
Level 2

Likes

3 likes

Total Posts

56 posts

Correct Reply

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

Avatar
Validate 10
Level 2
vidyar30267388
Level 2

Likes

3 likes

Total Posts

56 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
vidyar30267388
Level 2

15-10-2015

We have not yet moved to AppMeasurement. With H code what is the best way to clear events and evars. I am having issue with the custom tracking.

Avatar

Avatar
Boost 50
Employee
Kaushalendra
Employee

Likes

65 likes

Total Posts

142 posts

Correct Reply

69 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Employee
Kaushalendra
Employee

Likes

65 likes

Total Posts

142 posts

Correct Reply

69 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Kaushalendra
Employee

15-10-2015

Hi Vidya,

If you are looking for a function which will clear off the values from the 's' object, below is a document on how you can use function clearVars() for the same:

https://marketing.adobe.com/resources/help/en_US/sc/implement/function_clearVars.html

Here is another article which elaborates use of the same in page with the AJAX calls:

https://marketing.adobe.com/resources/help/en_US/sc/implement/impl_ajax.html

I hope this answers your query. If not, please let me know your query in a bit more detail.

~Kaushal

Avatar

Avatar
Validate 10
Level 2
vidyar30267388
Level 2

Likes

3 likes

Total Posts

56 posts

Correct Reply

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

Avatar
Validate 10
Level 2
vidyar30267388
Level 2

Likes

3 likes

Total Posts

56 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
vidyar30267388
Level 2

15-10-2015

Please let me know how to clear evar and events before i start doing the new custom tracking.