update tracking code in hrefs