added nav bar analytics