Expand my Community achievements bar.

One button click trigger two server calls

Avatar

Level 1

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

 

1 Reply

Avatar

Level 10

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).