One button click trigger two server calls

Avatar

Avatar

josie_cheng

Avatar

josie_cheng

josie_cheng

03-02-2021

Hi...I have multiple buttons need to be tracked. We are using Angular code for building the website application. Those buttons are using the same evar, which is extracting the button name value. We use css selector to track the button class and value, but while I tried to test the result of buttons in Observepoint, I clicked on the button, there are 2 server calls coming out. Can anyone help?

 

josie_cheng_0-1612355714682.pngjosie_cheng_1-1612355735670.png

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

Andrey_Osadchuk

MVP

Avatar

Andrey_Osadchuk

MVP

Andrey_Osadchuk
MVP

03-02-2021

I would advise to debug it in the browser console with the Launch debug mode activated. This will help you check what rules are fired after a click. Maybe in addition to the rule shown in the screenshot, the second rule gets fired too. Maybe the second call is the Exit Link tracking. Check the pe parameter in both server calls (d - download, o - custom, e - exit).