Adds analytics tracking code