Tag sensor pH