Google added a section on canonicalization best practices for JavaScript to the JavaScript SEO best practices document.
Google updated its JavaScript SEO best practices document with a new section on how to set the canonial URL when using JavaScript. Google wrote, "The best way to set the canonical URL is to use HTML, ...