View all blog articles

e-commerce

Google: Canonical Can Be Set by JavaScript - What This Means for SEO and E-Commerce

Canonical is one of the most important signals that organizes Google's index for online stores – and an error in this case can reduce the visibility of categories and products. Google has confirmed that canonical can also be set via JavaScript, provided it's consistent and doesn't conflict with any signals. In this article, I show when it makes sense, where the potential pitfalls are (SPA, filters, parameters), and how to verify that Google is selecting the correct URL version.

Read more »