Just found out that settingsResource controller conflicts with Merchello package leaving Analytics UI broken.
I've replaced all references in /App_plugins/Analytics to AnalyticsSettingsResource and it started working again
https://our.umbraco.org/projects/backoffice-extensions/analytics/help-issues/73755-typeerror-settingsresourcegetprofile-is-not-a-function#comment-236435