update(analytics): Refactored ozp-analytics.js

Simplified the ozp-analytics file and added hooks into more files
throughout Center-UI