layout and analytics