Add analytics events tracking on links