How to stop passing in the custom event other than exit links | Community
Skip to main content
balakrishnad200
Level 3
February 19, 2020
Solved

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

  • February 19, 2020
  • 3 replies
  • 8531 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gigazelle

Could you use the actual event numbers in your example, instead of just "eventx"? That would be super helpful in determining which events are firing where.

3 replies

Level 4
February 19, 2020

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

balakrishnad200
Level 3
February 22, 2020
to pass an event I'm using it
Gigazelle
Adobe Employee
GigazelleAdobe EmployeeAccepted solution
Adobe Employee
March 3, 2020

Could you use the actual event numbers in your example, instead of just "eventx"? That would be super helpful in determining which events are firing where.

balakrishnad200
Level 3
March 9, 2020
s.linkTrackEvents="256"; s.events="event256"; s.doPlugins = function(s) { if (s.linkType === 'e') { // this checks if this call is an exit link call. s.events="event256"; } }
jantzen_b
Adobe Employee
Adobe Employee
June 1, 2021
Do any of the answers below answer your initial question? If so, can you select one of them as the correct answer? If none of the answers already provided answer your question, can you provide additional information to better help the community solve your question?