install analytic code