put analytics script in head of application view