Removed stray template trace
Refactored code into TrackedLinkView and trackedLink helper