Strip whitespace from search query
Strip whitespace from search query

The 'Product Search Term' custom dimension sent to Google Analytics Enhanced
Ecommerce may contain spaces at the beginning or end, or double spaces between
words. This means that search queries with extra spaces are tracked separately
from those with single spaces.

alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend