How to send an additional request when clicking on the html link?

  • 0
    The site has a link to the promo page: a href = "http: // example.com/">promo. How can you compose the html-code of the link so that when you click on this link, an additional request is also sent to track this click on https : //httpbin.org/status/200 , and then there was a transition to the promo page itself.
    JavaScript Anonymous, May 1, 2019

  • 1 Answers
  • 0
    Something like this, I think:

    Anonymous

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!