Including search form in detail view and fixing small bug with google analytics