Moved external link tracking to analytics class