We are having an issue where Googlebot does not lo...
# suitecommerce
b
We are having an issue where Googlebot does not load Javascript on our SCA 2022.1 websites, and therefore does not see accurate content nor does it index our sites correctly. I can confirm this by changing the User Agent to Googlebot Desktop or Smartphone and neither render the page correctly. Inspecting the source shows this message at the top of all pages:
Copy code
Javascript is disabled on your browser.
To view this site, you must enable JavaScript or upgrade to a JavaScript-capable browser.
I found patches for older versions of SCA, but we are experiencing this issue on 2022.
ablobthinking 1
d
Hi, although you might have a genuine issue, I think what is happening is you are testing it incorrectly. SuiteCommerce is a single page application that relies on a Server Side Rendering technology to serve content to bots. And the described steps (changing user agent) without further steps, isn't a good way of testing what Google sees of your website. Here's how you test it: https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_1548174148.html Alternatively you can use third party tools or Google Search Console, to see what bots really see of your website
b
I checked with Google Search console and the crawled page does render correctly there. The main issue I am facing regarding this is Google not indexing some pages and picking an entirely different domain/URL as canonical. I thought the issue was due to content not loading and thus Google bot was seeing the pages as mostly identical. If the page is rendering correctly however, then I am not sure why Google will not index some pages.