Add analytics script and footer