(#1755) - move analytics to end of head