Google clarifies canonicalization with JavaScript
via developers.google.com
Short excerpt below. Read at the original source.
Google updated its JavaScript SEO best practices document, for the second time this week, this time to clarify canonicalization best practices for JavaScript. In short, Google said “setting the canonical URL to the same URL as in the original HTML or if that isn’t possible, to leave the canonical URL out of the original HTML.” […]