To enable analytics integration you need either the Universal analytics or the Event tracking analytics code integrated.
Visit this link to add the google analytics tracking code to your website.
Enable Google Analytics integration
Simply go to the Analytics Integration plugin submenu to turn on the Analytics integration. There are two integration methods you can choose from:
​Events Tracking (recommended) - Allows you tracking all sorts of events, such as input focus, live search, facet changes etc.. with customizable parameters