The FAQ will provide pretty everything you need to know, but one thing that I want to draw your attention to is that if any segment (however small it may be) in your itinerary has a fare basis that is ineligible for earning miles in UA MP, the entire itinerary will be ineligible! Watch out for that.
LAX