Moved the analytics script to the top.