Added a template check so that we don't record home page as a site search.