Enhanced get tracking link function