Track searches in analytics. Closes #52.