add event tracking to links