fixing scroll to top and google analytic code format