moved analytics to end of page