According to this : https://www.cbsa-asfc.gc.ca/btb-pdf/eedcu-cudes-eng.html Exit data includes biographic information such as: first name middle name(s) last name date of birth citizenship or nationality gender travel document type, number and name of the country that issued the travel document So, I assume it'll get your foreign passport ID.

Only top voted, non community-wiki answers of a minimum length are eligible