You must first login to Google Analytics in the "Google Analytics by Yoast" settings for this widget to work.
Go to plugin settings.