added analytics_lib to layout