Add search query tracker