Use cache for link href in search tracking

The variable was being used already to generate the sublink string but
was never actually populated.
Merge pull request #536 from alphagov/fix-search-tracking

Use cache for link href in search tracking