adding google analytics event to search and adding navbar