When you check in at the border; they will scan your Maple card. This is a record of your arrival. When you check in at the US border, they also scan you passport. US and Canada do share the info this day.