analytics event on menu and separate header in a file