only output tracking if the fields are not empty