Setting up link tracking