capture all specified link clicks within a document declaration instead of updating after each route definition