Make the widgets event emitters and update google analytics events