add google analytics and track search history