as far as i know they do keep electronic record. sometimes i get in and there is no stamp on my passport and the stamp was on the declaration card
when i also came in vancouver recently, i wasn't stamped because i didnt face a border officer. They have those machines that scan your PR Card or...