footer cleanup and enable analytics