Adding general tracking for links