HUE-1190 [core] Usage statistics

Changed trackPageview logic