As noted on
united.com and in the
*A partner miles master thread, discount economy tix on NH earn only 70% (or 50% for super-deep discount). The mileage earning is governed by the carrier (the airline that actually operates the flight), even if it's a UA codeshare.