Add analytic script