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

How to stop passing in the custom event other than exit links

Avatar

Avatar
Ignite 5
Level 2
balakrishnad200
Level 2

Likes

14 likes

Total Posts

53 posts

Correct Reply

0 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Validate 1
Give Back 3
View profile

Avatar
Ignite 5
Level 2
balakrishnad200
Level 2

Likes

14 likes

Total Posts

53 posts

Correct Reply

0 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Validate 1
Give Back 3
View profile
balakrishnad200
Level 2

18-02-2020

Hi Team,

 

I have used the s.plugin method to track the exit link tracking  the event is getting triggered on exit link. Also, the event is getting triggered in rest of the pages as well . Can you help me how to suppress the event from all pages other than exit link.

 

s.linkTrackEvents="x";
s.events="eventx";
s.doPlugins = function(s) {
if (s.linkType === 'e') { // this checks if this call is an exit link call.
s.events="eventx";
}
}

 

Thanks,

Balak

View Entire Topic

Avatar

Avatar
Validate 10
Level 3
surajp86368405
Level 3

Likes

20 likes

Total Posts

74 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Contributor
Shape 1
Ignite 1
View profile

Avatar
Validate 10
Level 3
surajp86368405
Level 3

Likes

20 likes

Total Posts

74 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Contributor
Shape 1
Ignite 1
View profile
surajp86368405
Level 3

19-02-2020

why are you setting s.events="eventx"; outside of the function ? should not it be only inside the function ?