2

Is it considered as cloaking if I remove third party scripts such as google tag manager, other analytics based scripts tags for crawlers/bots?

By removing these external javascripts I will surely have improved page performance(reduced page load time) for the Google Crawler and for effective SEO.

Though the question is related to Will disabling javascript be considered as cloaking by Google But, unlike there I am trying to remove only Third party Scripts which are not vital for the site from crawlers perspective.

Can I do so? Please suggest.

1

1 Answer 1

2

Yes, that is cloaking. Googlebot should see the exact same page that users see. Google understands javascript and you are denying Google a chance to process the same to determine if the scripts modify the content or not.

While there can be variations based on geolocations or even mobile devices, any variation aimed specifically at Googlebot is risky. Below video by Matt Cutts should help. Ref: https://www.youtube.com/watch?v=QHtnfOgp65Q

By the way, Google relies on real user experiences (CrUX) for page experience signals.

Sidenote: Google has just started a page-experience update by June 15, if that helps. Ref: https://twitter.com/googlesearchc/status/1404886100087246848

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.