fixed analytics snippet