views: application: analytics code, fix #50