Even if you don't go through Canadian Immigration or Customs - and there may be ways of doing that, but bear in mind the complexity introduced by the fact that US Immigration is in Canada at both airports - you would still, I think, need an ETSA to be on the flight to Canada.