Get entry url from primary site (using seomatic)
So probably you don't want to use canonical URLs there, but rather hreflang -- and the good news is that as long as all of your localized sites are in the same site group in Craft, SEOmatic does all of this automatically for you:

SEOmatic Multi-Site Language/Locale Support