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

One button click trigger two server calls

josie_cheng
Level 1
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
Andrey_Osadchuk
Community Advisor
Community Advisor

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