I have two different trips this summer (YUL-SFO, and YUL-LIM) each booked as a single ticket where one leg is with United and the other with Air Canada (both Star Alliance members). Since I made the purchase on United's website, only the United segment on my confirmation shows any mention of my Aeroplan number.
For example, on the YUL-LIM-YUL trip, YUL-EWR is with Air Canada but EWR-LIM is with United and only that part shows the Aeroplan number.
How does the mileage get credited for the Air Canada legs ? Does it happen automatically after I complete that segment, or do I have to request it at check-in with Air Canada ? Or do I have to request a credit after the trip ?