One button click trigger two server calls | Community
Skip to main content
New Participant
February 3, 2021
Question

One button click trigger two server calls

  • February 3, 2021
  • 1 reply
  • 1254 views

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?

 

 

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

1 reply

Andrey_Osadchuk
New Participant
February 3, 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).