analytics snippet and minor styling